nix.dev icon indicating copy to clipboard operation
nix.dev copied to clipboard

Pinning: pass hashes

Open kubukoz opened this issue 3 years ago • 3 comments

Currently, all the tutorials on pinning (https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs / https://nix.dev/reference/pinning-nixpkgs#ref-pinning-nixpkgs) seem to use fetchTarball without passing a sha - the snippets should probably be updated to include that, and provide some hints on where to get the sha.

kubukoz avatar Mar 14 '22 18:03 kubukoz

Would be great to have a PR to fix this!

domenkozar avatar Mar 25 '22 13:03 domenkozar