Low-level derivations: Difference between revisions

DoggoBit (talk | contribs)
A Hello, world example: cite derivations from manual
DoggoBit (talk | contribs)
No edit summary
Line 1: Line 1:
{{external|The Nix Reference Manual|§ 5.4.1. {{manual|nix|language/derivations}}}}
Writing '''low-level derivations''' without the convenience of the [[standard environment]] requires understanding the core fundamentals of how [[Nix]] works. While writing [[derivations]] in this manner is not common, they can be useful when no utility present in the standard environment matches the required use case, as well as being an essential learning tool for understanding why <code>stdenv.mkDerivation</code> is needed in most cases.
Writing '''low-level derivations''' without the convenience of the [[standard environment]] requires understanding the core fundamentals of how [[Nix]] works. While writing [[derivations]] in this manner is not common, they can be useful when no utility present in the standard environment matches the required use case, as well as being an essential learning tool for understanding why <code>stdenv.mkDerivation</code> is needed in most cases.