Skip to content

Comment on Tvix: We Are Rewriting Nixparent

Comments

You have the advantage that all existing production Nix code is known to terminate in short order

You don't really know this - there are many code paths in nixpkgs that are never touched during Hydra evaluation (various overrides, user-facing flags, packages marked broken and so on). We think it might be possible to slowly move towards more static analysis of the existing Nix language, but this is a little bit further down the road.

(Note by the way that we have a "runtime type checker" for Nix, but it is mostly an experiment: https://code.tvl.fyi/about/nix/yants)

It has all terminated in short order whenever and wherever executed, except possibly dodgy packages no one tries to install.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.