mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
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:
parent
7dc67410bb
commit
85bef9e191
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
|
@ -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..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue