Nix (language): Difference between revisions

imported>Ixxie
mNo edit summary
imported>Profpatsch
Add the Nix Tour
Line 6: Line 6:


The language was designed especially for the [[Nix Package Manager]].
The language was designed especially for the [[Nix Package Manager]].
== Learning resources ==
The [https://nixos.org/nix/manual/#ch-expression-language manual] provides a '''reference''' of the Nix language. All language constructs you may use in nix are defined here, together with code snippets.
[https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55 Nix By Example] is a step-by-step tutorial.
The [https://nixos.org/nixos/nix-pills/index.html nix pills] also provide a lot of insight into the language and functional package management in general.
[https://nixcloud.io/tour/ The Nix Tour] is an interactive tour that uses the actual package manager to learn you the language by example, in the browser.


== Language Paradigms ==
== Language Paradigms ==
Line 359: Line 367:
=> 23
=> 23
</syntaxHighlight>
</syntaxHighlight>
== Learning resources ==
The [https://nixos.org/nix/manual/#ch-expression-language manual] provides a '''reference''' of the Nix language. All language constructs you may use in nix are defined here, together with code snippets.
[https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55 Nix By Example] is a step-by-step tutorial.
The [https://nixos.org/nixos/nix-pills/index.html nix pills] also provide a lot of insight into the language and functional package management in general.


== Development tools ==
== Development tools ==