NixOS / NixOS/nix.dev

How to get the latest Nixpkgs hash

Open
#407 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

guide
Dominant language
Nix
Stars
4k
Forks
339
Avg merge
2d 11h
Merged PRs (30d)
7

Description

All of the guides and tutorials which require pinning Nixpkgs do not mention how to find the appropriate commit hash.

Example: https://github.com/NixOS/nix.dev/pull/325

Describe the process of obtaining the relevant Nixpkgs commit.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the guides and tutorials that pin Nixpkgs, then read the linked pull request for context. Done means documenting a clear process for obtaining the relevant Nixpkgs commit hash.

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
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.