Jump to content

Nix ecosystem: Difference between revisions

From NixOS Wiki
imported>Samueldr
No edit summary
imported>Ixxie
No edit summary
Line 1: Line 1:
{{Expansion|This article is a stub.}}
{{Expansion|This article is a stub.}}
The ''Nix Ecosystem'' is a collection of technologies built around the [[Nix Package Manager]] and the purely functional [[Nix Expression Language]]. Nix ''expressions'' are pure functions taking dependencies as arguments and producing ''derivation'' specifying a reproducible build environment for the package. The package is then built the ''Nix store'', receiving a unique address specified by a cryptographic hash of the build's dependency graph followed by the package name and version, for example <code>/nix/store/nawl092prjblbhvv16kxxbk6j9gkgcqm-git-2.14.1</code>. This allows Nix to install side by side different versions of the same package, and even different builds of the same version.


[[Category:Discussion]]
[[Category:Discussion]]
[[Category:Ecosystem]]
[[Category:Ecosystem]]
[[Category:Incomplete]]
[[Category:Incomplete]]

Revision as of 13:48, 9 September 2017

☶︎
This article or section needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

The Nix Ecosystem is a collection of technologies built around the Nix Package Manager and the purely functional Nix Expression Language. Nix expressions are pure functions taking dependencies as arguments and producing derivation specifying a reproducible build environment for the package. The package is then built the Nix store, receiving a unique address specified by a cryptographic hash of the build's dependency graph followed by the package name and version, for example /nix/store/nawl092prjblbhvv16kxxbk6j9gkgcqm-git-2.14.1. This allows Nix to install side by side different versions of the same package, and even different builds of the same version.