Overview of the Nix Language: Difference between revisions

From NixOS Wiki
No edit summary
(Removed the quote (there have been two links to the manual directly behind each other. Added a sentence about what is written in Nix.)
 
Line 1: Line 1:
<blockquote>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. </blockquote>
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.  
<cite>[https://nixos.org/manual/nix/stable/language/ Nix Reference Manual]</cite>


{{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 scripted the Nix language. While being a NixOS user doesn't demand complete mastery of Nix, customizing code snippets is necessary.
== See also ==
== See also ==
* [[Nix Expression Language: Learning resources|Learning resources]]
* [[Nix Expression Language: Learning resources|Learning resources]]

Latest revision as of 17:58, 18 April 2024

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 scripted the Nix language. While being a NixOS user doesn't demand complete mastery of Nix, customizing code snippets is necessary.

See also