Commit fa59c0c
authored
Update nix lock file and check in CI that nix lock file is in sync with nix flake (#4838)
Recently, the nix flake was updated in a pull request without fully
updating the respective nix lock file. This causes issues when trying to
install a nix derivation from CLI, i.e. with `nix` or `kup`, without
cloning the repository, as the checked out source is placed in the
read-only nix store. Therefore, the nix lock file must always stay
perfectly in sync with the nix flake.
This pull request updates the nix lock file to be in sync again.
Additionally, the flag `--no-update-lock-file` was added to CI when
building the nix derivation to check that the nix lock file is actually
in sync. Otherwise, CI would silently update the nix lockfile without
reflecting that change in a commit. This additional sanity check could
also be added to other RV repositories with CI that use nix.1 parent 8f297f0 commit fa59c0c
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments