Pinning: pass hashes
Open
Nobody has claimed this yet.
bug
- Dominant language
- Nix
- Stars
- 4k
- Forks
- 339
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the two linked pinning tutorials and locate the fetchTarball snippets that omit a sha. Update those examples to pass a hash and add guidance on where to obtain it. Done means both tutorial pages show pinned hashes and explain how readers can find the required sha.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100