Open domenkozar opened 4 years ago
Thanks for adding this issue. Here is something a bit more elaborate that might help for a newbie like me faces with Nix
This is very clear in itself because not only do I want to update something but also help upstream get the benefit of the upgrade and help the community. I have not been able to do that for a variety of reasons. I can recall some -
cargoSHA256
here https://github.com/NixOS/nixpkgs/blob/b2679e8b4166c9fc08ca9a27b0ceb8f874842904/pkgs/development/tools/rust/rustup/default.nix#L22? patchELF
likely because I do not have the prerequisite knowledge and I would love to fix that. So three things – a) Debugging b) Better error messages and formatting of those messages c) a standard way for derivation developers to document their process
@grahamc knows a lot of things as stated here https://twitter.com/grhmc/status/1333429379360284672 but can those patterns be documented? When would you do what? Overlays? Patches (global local)? Shell or env? I perhaps know some of these and even use shell.nix heavily but that is where I am limited.
Basically, this tweet into a whole page https://twitter.com/grhmc/status/1333411016705765377
And this one https://twitter.com/grhmc/status/1322539935589687296?s=20
I found this https://github.com/ryantm/nixpkgs-update while trying to upgrade rustup. I could not even build it. The commands listed ran for ages. What was it doing? Perhaps it is something I should not have run but then it says it is a tool to facilitate auto updates wherever possible. LOL
Are there other such tools and if yes then how do people find them?
The commands listed ran for ages.
It probably updates the full nixpkgs :smile:
https://twitter.com/amanjeev/status/1333419722768048129