From 3cb0aa0abaa5dbe3f41e82ab7ec2a660a4d1f11e Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Mon, 8 Jun 2026 18:16:27 -0400 Subject: [PATCH] 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 089cd8fbaca2ae8b49c3034ebb99bd9fdad6ff1c) --- ci/update-pinned.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/update-pinned.sh b/ci/update-pinned.sh index 7e3a26695fe8..69ba7df9131d 100755 --- a/ci/update-pinned.sh +++ b/ci/update-pinned.sh @@ -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