Nix (language): Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
< | <languages/> | ||
<translate> | |||
{{Navbox Nix}} | |||
{{Disambiguation|message=This article is about the Nix language itself. Not to be confused with the [[Nix ecosystem]], the [[Nix package manager]] or the [[Nix (command)|Nix command]].}}{{Expand|scope=article}} | |||
The Nix language is designed for conveniently creating and composing <i>derivations</i> – precise descriptions of how contents of existing files are used to derive new files. | |||
<!--T:2--> | |||
{{Note|Check the [https://nixos.org/manual/nix/stable/language/ Nix Reference Manual on the Nix Language] for up-to-date documentation and [https://nix.dev/tutorials/nix-language Nix language basics] for a gentle introduction.}} | {{Note|Check the [https://nixos.org/manual/nix/stable/language/ Nix Reference Manual on the Nix Language] for up-to-date documentation and [https://nix.dev/tutorials/nix-language Nix language basics] for a gentle introduction.}} | ||
The .nix files are written in the Nix language. While being a NixOS user doesn't demand complete mastery of Nix, customizing code snippets is necessary. | |||
<!--T:3--> | |||
== See also == | == See also == | ||
* [[Nix Expression Language: Learning resources|Learning resources]] | * [[Nix Expression Language: Learning resources|Learning resources]] | ||
Line 9: | Line 17: | ||
* [[Nix Language Quirks]] | * [[Nix Language Quirks]] | ||
<!--T:4--> | |||
[[Category:Pedias]] | [[Category:Pedias]] | ||
[[Category:Nix Language]] | [[Category:Nix Language]] | ||
</translate> |
Latest revision as of 13:27, 19 June 2025
⤧︎
Disambiguation: This article is about the Nix language itself. Not to be confused with the Nix ecosystem, the Nix package manager or the Nix command.
☶︎
This article 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 language is designed for conveniently creating and composing derivations – precise descriptions of how contents of existing files are used to derive new files.
Note: Check the Nix Reference Manual on the Nix Language for up-to-date documentation and Nix language basics for a gentle introduction.
The .nix files are written in the Nix language. While being a NixOS user doesn't demand complete mastery of Nix, customizing code snippets is necessary.