Terms and Definitions in Nix Project: Difference between revisions
imported>Nix better define derivations, add output path definition |
imported>Nix m less ambiguous |
||
Line 28: | Line 28: | ||
|| Derivation | || Derivation | ||
|| Nix | || Nix | ||
|| A Nix expression which describes a build action. High-level derivations (like the ones describing packages in [[Nixpkgs]]), get evaluated into low-level derivations (called ''store derivations'' — because they wind up in the ''Nix store''). <code>nix-instantiate</code> is the command which translates high-level derivations into low-level ones. <code>nix-store --realise</code> can then check and finish their build for the ''nix store'', producing | || A Nix expression which describes a build action. High-level derivations (like the ones describing packages in [[Nixpkgs]]), get evaluated into low-level derivations (called ''store derivations'' — because they wind up in the ''Nix store''). <code>nix-instantiate</code> is the command which translates high-level derivations into low-level ones. <code>nix-store --realise</code> can then check and finish their build for the ''nix store'', producing ''output path(s)''. <code>nix-build</code> is a user-friendly wrapper for the previous commands. Derivations are analogous to package definitions in other package managers. | ||
|| [http://nixos.org/nix/manual/#gloss-derivation Nix Manual: Glossary - Derivation] <br> [http://nixos.org/nix/manual/#ssec-derivation Nix Manual: Derivation] | || [http://nixos.org/nix/manual/#gloss-derivation Nix Manual: Glossary - Derivation] <br> [http://nixos.org/nix/manual/#ssec-derivation Nix Manual: Derivation] | ||
|-------- | |-------- |