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

Update towards-reproducibility-pinning-nixpkgs.md #1029

Merged
merged 3 commits into from
Aug 14, 2024
Merged
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 @@ -2,14 +2,19 @@

# Towards reproducibility: pinning Nixpkgs

In various Nix examples, you'll often see references to [\<nixpkgs>](https://github.com/NixOS/nixpkgs), as follows.
In various Nix examples, you'll often see the following:

```nix
{ pkgs ? import <nixpkgs> {} }:
...
```

:::{note}
`<nixpkgs>` points to the file system path of some revision of {term}`Nixpkgs`.
Find more information on [lookup paths](lookup-path-tutorial) in [](reading-nix-language).
:::

This is a **convenient** way to quickly demonstrate a Nix expression and get it working by importing Nix packages.

However, <ref-search-path>**the resulting Nix expression is not fully reproducible**.
Expand Down
Loading