mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 02:10:27 +08:00
ci/nixpkgs-vet.sh: fix passing arguments
It currently fails with this:
```
error: lib.fileset.toSource: `root`
(/tmp/nix-shell-19054-0/tmp.MB62qzBqsj/base) is a string-like value, but
it should be a path instead.
Paths in strings are not supported by `lib.fileset`, use
`lib.sources` or derivations instead.
```
Resolves #416175
(cherry picked from commit 36b76b4141)
This commit is contained in:
committed by
github-actions[bot]
parent
ea0962d5c9
commit
d7722731d3
@@ -63,4 +63,4 @@ git -C "$tmp/merged" merge -q --no-edit "$baseSha"
|
||||
trace -e "\e[34m$(git -C "$tmp/merged" rev-parse HEAD)\e[0m"
|
||||
|
||||
trace "Running nixpkgs-vet.."
|
||||
nix-build ci -A nixpkgs-vet --argstr base "$tmp/base" --argstr head "$tmp/merged"
|
||||
nix-build ci -A nixpkgs-vet --arg base "$tmp/base" --arg head "$tmp/merged"
|
||||
|
||||
Reference in New Issue
Block a user