|
|
|
|
|
by mikepurvis
1611 days ago
|
|
Oh, of course, and in my case it was an important discovery, because my custom packages were all also defined in terms of my own mkDerivation-wrapping function, so I happily copy-pasted the definition of overridePythonAttrs to make my own overrideMyAttrs version of it. But it was brutal that I had to just stumble across this. I think the article correctly identifies that there is decent enough documentation in Nix for: - Beginners to the nix language/concept (Nix Pills) - Beginner users of NixOS (the NixOS manual) - Beginners to packaging for Nix (wiki articles, blogs) But there is a huge, huge gap for the user who is trying to cross the chasm and become a true expert in it all— who wants to understand at a deep level things like how overlays and namespaces work, how bootstrapping works and what is the division of responsibilities between nix and nixpkgs, plus the inner workings of things like buildEnv and stdenv. |
|
[1] - https://www.youtube.com/playlist?list=PLRGI9KQ3_HP_OFRG6R-p4...