nix: expose nixpkgs input on flake

This also moves the pin for nixpkgs into flake.lock instead of our
custom file. Even for the classic interface via default.nix, the pin
will be loaded from flake.lock, thus everything stays in-sync.
This commit is contained in:
Wolfgang Walther
2025-03-28 09:22:34 +00:00
parent 144b0c46ca
commit 149be6bc33
7 changed files with 31 additions and 94 deletions
+2 -4
View File
@@ -379,10 +379,8 @@ that).
We also use `default.nix` to load our pinned version of the `nixpkgs`
repository. This set of packages will always be the same, independently from
where or when you use it. The pinned version can be upgraded with the small
`nixpkgs-upgrade` utility. Running `nixpkgs-upgrade > nix/nixpkgs-version.nix`
in `nix-shell` will upgrade the pinned version to the latest `nixpkgs-unstable`
version.
where or when you use it. The pinned version is taken from `flake.lock` and
can be updated with `nix flake update`.
### `shell.nix`