nixpkgs/ci/update-pinned.sh
Michael Daniels 089cd8fbac
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.
2026-06-08 18:16:27 -04:00

9 lines
201 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!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