ci/update: fix getFlake expecting an absolute path

Pass in `$PWD` instead of `.`, because `builtins.getFlake` does not
permit relative paths.
This commit is contained in:
Matt Sturgeon 2025-01-23 14:58:47 +00:00
parent 7dc67410bb
commit 85bef9e191
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -80,7 +80,7 @@ jobs:
getNixpkgsRev "github:$repo/$branch" \
|| echo "" # Could fail, e.g. if the branch is deleted
)
new=$(getNixpkgsRev '.')
new=$(getNixpkgsRev "$PWD")
if [[ "$old" = "$new" ]]; then
(
echo "nixpkgs rev has not changed ($new). Stopping..."