this post was submitted on 11 Mar 2025
6 points (100.0% liked)

Nix / NixOS

2052 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] harryprayiv@infosec.pub 4 points 1 week ago

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.