fetchFromGitHub not validating hashes #10847
Labels
bug
derivation-build
The process of building an individual derivation (see also sandbox label)
error-messages
Confusing messages and better diagnostics
Describe the bug
A clear and concise description of what the bug is.
Steps To Reproduce
nix-shell -v shell.nix
Now with the wrong hash, I'd expect nix to not install the tool and notify me about the hash mismatch. But it doesn't.
If I remove the hash it works:
Expected behavior
nix should not install anything if the hash doesn't match.
sha256-XNrn89Vv8R5r5hmDhGZVcYcUdY3Zw/+Ss/x7YfEtX2A=
isn't the hash of this repo, it's the hash from kubectl v0.30.1 and has nothing to do with mktoc (the tool I try to install).nix-env --version
outputnix-env (Nix) 2.22.1
Additional context
OS: macOS
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: