errata
Opened this issue · 0 comments
eclairevoyant commented
- Nix /does/ have build phases, and even something similar to build systems, but...
- These build systems aren't documented anywhere, at least as far as I could tell.
https://nixos.org/manual/nixpkgs/unstable/#chap-language-support has been around for a while.
For example rather than calling a sed within a shell script like what Nix definitions sometimes do, Guix uses the procedure substitute* instead.
So do package expressions in nixpkgs; sed
is actively discouraged.
And if the bigger point is that guix avoids manually writing out shell instructions and relies on stuff in guix, I would imagine that to be analogous to nixpkgs's package hooks (though they are not as exhaustively documented as one would hope.)