Unverified Commit b627d181 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

ci/eval: remove unused checkMeta argument

This should always be set anyways.
parent 04fcbb45
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
{
  lib ? import (path + "/lib"),
  trace ? false,
  checkMeta ? true,
  path ? ./../..,
}:
let
@@ -65,7 +64,7 @@ let
    lib.traceIf trace "** ${lib.showAttrPath path}" result;

  outpaths = import ./outpaths.nix {
    inherit checkMeta path;
    inherit path;
    attrNamesOnly = true;
  };

+1 −2
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
  attrpathFile,
  chunkSize,
  myChunk,
  checkMeta,
  includeBroken,
  systems,
}:
@@ -17,7 +16,7 @@ let

  unfiltered = import ./outpaths.nix {
    inherit path;
    inherit checkMeta includeBroken systems;
    inherit includeBroken systems;
  };

  # Turns the unfiltered recursive attribute set into one that is limited to myAttrpaths
+0 −2
Original line number Diff line number Diff line
@@ -81,7 +81,6 @@ let
      attrpathFile ? "${attrpathsSuperset { inherit evalSystem; }}/paths.json",
      # The number of attributes per chunk, see ./README.md for more info.
      chunkSize ? 5000,
      checkMeta ? true,

      # Don't try to eval packages marked as broken.
      includeBroken ? false,
@@ -113,7 +112,6 @@ let
          --arg myChunk "$myChunk" \
          --arg attrpathFile "${attrpathFile}" \
          --arg systems "[ \"$system\" ]" \
          --arg checkMeta ${lib.boolToString checkMeta} \
          --arg includeBroken ${lib.boolToString includeBroken} \
          -I ${nixpkgs} \
          -I ${attrpathFile} \
+2 −3
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
# 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
  path ? ./../..,

@@ -28,7 +27,7 @@ let
            allowUnfree = true;
            allowInsecurePredicate = x: true;
            allowVariants = !attrNamesOnly;
            checkMeta = checkMeta;
            checkMeta = true;

            handleEvalIssue =
              reason: errormsg: