mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
ci/update: fix inputs.nixpkgs.rev
eval
Need to use raw output to avoid having a quoted string, otherwise we end up with a malformed flakeref: error: in URL 'github:NixOS/nixpkgs/"2d068ae5c6516b2d04562de50a58c682540de9bf"', '"2d068ae5c6516b2d04562de50a58c682540de9bf"' is not a commit hash or branch/tag name
This commit is contained in:
parent
6d10fc0c87
commit
05981008b7
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
|
@ -121,7 +121,7 @@ jobs:
|
|||
id: dev_flake_lock
|
||||
if: inputs.dev_lock || github.event_name == 'schedule'
|
||||
run: |
|
||||
root_nixpkgs=$(nix eval -f . 'inputs.nixpkgs.rev')
|
||||
root_nixpkgs=$(nix eval --raw --file . 'inputs.nixpkgs.rev')
|
||||
old=$(git show --no-patch --format=%h)
|
||||
nix flake update --commit-lock-file \
|
||||
--override-input nixpkgs "github:NixOS/nixpkgs/$root_nixpkgs" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue