-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chapter 6 could do with a definition of derivation #193
Comments
To add to this, the existing text "A derivation from a Nix language view point is simply a set, with some attributes. Therefore you can pass the derivation around with variables like anything else." is misleading. A derivation is not a set; if you take a derivation and modify it with See this stackexchange post where a user stumbled over these same words, and eventually discovered that |
@apoelstra fully agree, this is a surprisingly nasty topic that needs some untangling. Related: NixOS/nix#7829 |
I've stumbled upon this very same problem in the past |
The intro to chapter 6 mentions that
.. and then it jumps to describing how to create a derivation. As someone who is only starting to learn Nix, it would be really helpful to have a subsection about what a derivation is exactly and why i would want to create one.
I think a good solution to this would be to take the glossary entry for "derivation" and then address some of the issues pointed out in Ian Henry's How to Learn Nix.
The text was updated successfully, but these errors were encountered: