Replies: 2 comments 1 reply
-
Indeed, I did misunderstand here, I thought |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the feedback ❤️ I have updated the content. Please take a look when you are free. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for the fantastic resource on all things Nix! I'm reading the chapter on callPackage and I'm wondering if some details are incorrect or misleading:
In the second paragraph it states that the imported file "must be a Derivation or a function that returns a Derivation.", but I don't think the former case is valid (as far as I see, the imported file must be a function). Less importantly, it also states that you should give
callPackage
a file as input, but this is not the case; directly giving a function is fine too.The fourth paragraph starts to explain what happens if it the imported file gives a function, leaving me to expect an explanation of the other case to come later, but it never does explain any other cases.
Beta Was this translation helpful? Give feedback.
All reactions