mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ci/update-pinned.sh: use nixpkgs from current dir, run npins upgrade too
Use nixpkgs from the current directory because otherwise the npins used
could be outdated.
Also run npins upgrade as part of the script.
(cherry picked from commit 089cd8fbac)
This commit is contained in:
parent
57be1fcf8a
commit
3cb0aa0aba
1 changed files with 2 additions and 1 deletions
|
|
@ -1,8 +1,9 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p npins
|
||||
#!nix-shell -i bash -p npins -I nixpkgs=../
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
npins --lock-file pinned.json upgrade
|
||||
npins --lock-file pinned.json update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue