Nix 101 Course / Section 2: The Nix language
Premium

2.3 Nix syntax: the complete tour

Lesson 8 of 15 · 40:38

placeholder thumbnail

Sign in to watch this lesson

About this lesson

The complete tour of Nix syntax in one focused sitting: strings and indented strings (with the tricky ${} escapes), numbers, lists, attribute sets and inherit, functions and currying, let/with scoping and their pitfalls, import, and how to merge sets with // versus lib.recursiveUpdate. After this, nixpkgs source stops looking like a foreign alphabet and becomes something you can actually read.