Skip to content

Commit

Permalink
ci/update: fix getFlake expecting an absolute path
Browse files Browse the repository at this point in the history
Pass in `$PWD` instead of `.`, because `builtins.getFlake` does not
permit relative paths.
  • Loading branch information
MattSturgeon committed Jan 23, 2025
1 parent 7dc6741 commit 85bef9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 85bef9e

Please sign in to comment.