Post

Nixpkgs for the frontend impaired

jinx transpiles Nix into TypeScript, allowing Nix expressions—including nixpkgs—to be evaluated in a browser without installing Nix. The author reports matching Nix derivation paths across 231,777 nixpkgs attributes.

Generated code preserves lazy evaluation through thunks; evaluation itself does not write to the Nix store. This is an experimental alternative evaluator and playground, not a replacement for the build machinery: instantiating and realising derivations still involves the store and Nix tools.

An HN reader suggested a clearer title describing the Nix-to-TypeScript translation; another pointed to a related project.