Difference between revisions of "Nix Language: Learning resources"

From NixOS Wiki
Jump to: navigation, search
m (rollback unauthorized mass edits)
Tag: Rollback
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
* The [https://nixos.org/nix/manual/#ch-expression-language Nix manual] provides a '''reference''' of the language. All language constructs you may use are defined there, together with code snippets.
 
* The [https://nixos.org/nix/manual/#ch-expression-language Nix manual] provides a '''reference''' of the language. All language constructs you may use are defined there, together with code snippets.
  
* [https://github.com/nix-community/nix-snippets nix-snippets] may be a good fit if you prefer learning the language in small chunks. It is a beginner-focused community resource for learning the [[:Category:Nix Expression Language|Nix expression language]] while having fun!
+
* [https://nix.dev/tutorials/nix-language Nix language basics] is a practical tutorial to reading the Nix language.
  
* [https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55 Nix By Example] is a step-by-step tutorial.
+
* [https://github.com/tazjin/nix-1p Nix - A One Pager] provides a brief overview of language constructs
  
* [https://nixos.org/nixos/nix-pills/index.html Nix Pills] will provide a lot of insight into the language and functional package management in general.
+
* [[Nix by example]] is a step-by-step tutorial.
 +
 
 +
* Nix Pills  [https://nixos.org/guides/nix-pills/basics-of-language.html Chapter 4] and [https://nixos.org/guides/nix-pills/functions-and-imports.html Chapter 5] discuss key language features
  
 
* [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://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 language works.  
+
* [https://scrive.github.io/nix-workshop/ Scrive Nix Workshop] is a series of examples demonstrating language features, mostly without comments or further explanations.
  
* [https://learnxinyminutes.com/docs/nix/ Learn X in Y minutes] is quick reference for Nix syntax, types, operations, etc.
+
* [https://learnxinyminutes.com/docs/nix/ Learn X in Y minutes] is brief listing of Nix syntax, types, operations, etc.
  
 
== Relevant pages ==
 
== Relevant pages ==

Latest revision as of 11:06, 6 April 2024

  • The Nix manual provides a reference of the language. All language constructs you may use are defined there, together with code snippets.
  • The Nix Tour is an interactive tour that uses the actual package manager to learn you the language by example, in the browser.
  • Scrive Nix Workshop is a series of examples demonstrating language features, mostly without comments or further explanations.

Relevant pages