Nix (language): Difference between revisions

imported>Toraritte
m Toraritte moved page Nix Expression Language to Overview of the Nix Expression Language: It was too vague, especially if there is a category with the same name
imported>Toraritte
Move learning resources to its own page
Line 7: Line 7:


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.
If you prefer learning the language in small chunks, the [https://github.com/nix-community/nix-snippets nix-snippets] project may be a good fit. It is a beginner focused, community resource for learning the Nix expression language while having fun!
[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.
[https://scrive.github.io/nix-workshop/ Scrive Nix Workshop] is a book with a bunch of examples on how the nix language works.


== Language Paradigms ==
== Language Paradigms ==
Line 650: Line 639:


== See also ==
== See also ==
* [https://learnxinyminutes.com/docs/nix/ A quick reference for Nix syntax, types, operations, etc.]
* [[Nix Expression Language: Learning resources|Learning resources]]