From 36b76b41414c391e78b63cd3f07377984cd437d7 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 12 Jun 2025 20:30:36 +0200 Subject: [PATCH] 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 --- ci/nixpkgs-vet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/nixpkgs-vet.sh b/ci/nixpkgs-vet.sh index 8ad2a35adfa0..7d6cebc6bfd8 100755 --- a/ci/nixpkgs-vet.sh +++ b/ci/nixpkgs-vet.sh @@ -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"