Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

point to the pinning reference instead of the tutorial #753

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ There are three things going on here:
- {ref}`reproducible-scripts` – use Nix for reproducible scripts
- {ref}`reading-nix-language` – learn reading the Nix language, which is used to declare packages and configurations
- {ref}`declarative-reproducible-envs` – create reproducible shell environments with a declarative configuration file
- {ref}`pinning-nixpkgs` – learn different ways of specifying exact versions of package sources
- {ref}`ref-pinning-nixpkgs` – learn different ways of specifying exact versions of package sources

If you're done trying out Nix for now, you may want to free up some disk space occupied by the different versions of programs you downloaded by running the examples:

Expand Down
2 changes: 1 addition & 1 deletion source/tutorials/first-steps/nix-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@ pkgs.lib.strings.toUpper "always pin your sources"
ALWAYS PIN YOUR SOURCES
```

See [](pinning-nixpkgs) for details.
See [](ref-pinning-nixpkgs) for details.

What you will also often see is that `pkgs` is passed as an argument to a function.
By convention one can assume that it refers to the Nixpkgs attribute set, which has a `lib` attribute:
Expand Down