ci/eval: remove unused checkMeta argument

This should always be set anyways.
This commit is contained in:
Wolfgang Walther
2025-08-31 12:06:59 +02:00
parent 04fcbb45e1
commit b627d181e9
4 changed files with 4 additions and 9 deletions

View File

@@ -17,7 +17,6 @@
{ {
lib ? import (path + "/lib"), lib ? import (path + "/lib"),
trace ? false, trace ? false,
checkMeta ? true,
path ? ./../.., path ? ./../..,
}: }:
let let
@@ -65,7 +64,7 @@ let
lib.traceIf trace "** ${lib.showAttrPath path}" result; lib.traceIf trace "** ${lib.showAttrPath path}" result;
outpaths = import ./outpaths.nix { outpaths = import ./outpaths.nix {
inherit checkMeta path; inherit path;
attrNamesOnly = true; attrNamesOnly = true;
}; };

View File

@@ -6,7 +6,6 @@
attrpathFile, attrpathFile,
chunkSize, chunkSize,
myChunk, myChunk,
checkMeta,
includeBroken, includeBroken,
systems, systems,
}: }:
@@ -17,7 +16,7 @@ let
unfiltered = import ./outpaths.nix { unfiltered = import ./outpaths.nix {
inherit path; inherit path;
inherit checkMeta includeBroken systems; inherit includeBroken systems;
}; };
# Turns the unfiltered recursive attribute set into one that is limited to myAttrpaths # Turns the unfiltered recursive attribute set into one that is limited to myAttrpaths

View File

@@ -81,7 +81,6 @@ let
attrpathFile ? "${attrpathsSuperset { inherit evalSystem; }}/paths.json", attrpathFile ? "${attrpathsSuperset { inherit evalSystem; }}/paths.json",
# The number of attributes per chunk, see ./README.md for more info. # The number of attributes per chunk, see ./README.md for more info.
chunkSize ? 5000, chunkSize ? 5000,
checkMeta ? true,
# Don't try to eval packages marked as broken. # Don't try to eval packages marked as broken.
includeBroken ? false, includeBroken ? false,
@@ -113,7 +112,6 @@ let
--arg myChunk "$myChunk" \ --arg myChunk "$myChunk" \
--arg attrpathFile "${attrpathFile}" \ --arg attrpathFile "${attrpathFile}" \
--arg systems "[ \"$system\" ]" \ --arg systems "[ \"$system\" ]" \
--arg checkMeta ${lib.boolToString checkMeta} \
--arg includeBroken ${lib.boolToString includeBroken} \ --arg includeBroken ${lib.boolToString includeBroken} \
-I ${nixpkgs} \ -I ${nixpkgs} \
-I ${attrpathFile} \ -I ${attrpathFile} \

View File

@@ -1,9 +1,8 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
# When using as a callable script, passing `--argstr path some/path` overrides $PWD. # When using as a callable script, passing `--argstr path some/path` overrides $PWD.
#!nix-shell -p nix -i "nix-env -qaP --no-name --out-path --arg checkMeta true -f ci/eval/outpaths.nix" #!nix-shell -p nix -i "nix-env -qaP --no-name --out-path -f ci/eval/outpaths.nix"
{ {
checkMeta,
includeBroken ? true, # set this to false to exclude meta.broken packages from the output includeBroken ? true, # set this to false to exclude meta.broken packages from the output
path ? ./../.., path ? ./../..,
@@ -28,7 +27,7 @@ let
allowUnfree = true; allowUnfree = true;
allowInsecurePredicate = x: true; allowInsecurePredicate = x: true;
allowVariants = !attrNamesOnly; allowVariants = !attrNamesOnly;
checkMeta = checkMeta; checkMeta = true;
handleEvalIssue = handleEvalIssue =
reason: errormsg: reason: errormsg: