Re:The Curse of NixOS
by HotHotLava on Monday January 24, 2022 @10:40AM
(#30058962)
It's one thing to look at the source, it's another thing to know that you have to look inside `pkgs/build-support/trivial-builders.nix` to find the documentation. One of the main advantages of reference documentation is a central place to look up what things do.
[ Parent
| on HN ]
Re:The Curse of NixOS
by ghostwriter on Monday January 24, 2022 @06:35PM
(#30065712)
`writeScriptBin` is the second topmost link on Google search that leads directly to that file in a central repository of nixpkgs. Unique function names have the advantage of being transparent references that you can find either via google, or github search, or grep on your local checkout of nixpkgs.