divnix / nix-book

The Nix Package Manager
https://book.divnix.com
Creative Commons Zero v1.0 Universal
70 stars 10 forks source link

Introduce the concept of IFD? #17

Closed tejing1 closed 2 years ago

tejing1 commented 2 years ago

Somewhere in section 3. The Nix Language, IFD should probably be explained. What it is, why it's useful, why it's problematic, and the fact that it's not allowed in nixpkgs.

jonringer commented 2 years ago

The goal of the nix language section was to equip them to start understanding material in later sections. I think IFD should be covered but it would be in a much later section.

Because IFD also has related concepts like pure-eval, strict-eval, and recursive nix. And I think I would rather visit those concepts after the vanilla concept of a derivation is cemented.

tejing1 commented 2 years ago

Hmm, fair point. It's too much for an introduction.