- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
Really cool Nix idea which could improve incremental builds and replaces IFD (import from derivation) in some instances.
The article poses it as an alt to the lang2nix pattern, but some of functions look rather challenging to understand? Do you think this might allow nixpkgs upstream to support more languages / build systems performantly out of the box, abstracting away the complexity from Nix users?
Personally, I’d love to see this feature.
Right now, I build Haskell using cabal because I found the IOHK Haskell.nix implementation broken when I reached for it for a project with pkg-config dependencies.
Similar deal with purs-nix when Purescript rewrote spago and broke purs-nix.
It would be nice to finally build these two languages in Nix again with that lovely determinism I’ve grown so comfortable with.