Loading ci/eval/compare/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -158,8 +158,10 @@ let } ); getMaintainers = callPackage ./maintainers.nix { }; inherit (callPackage ./maintainers.nix { (getMaintainers { affectedAttrPaths = map (a: a.packagePath) ( convertToPackagePlatformAttrs (diffAttrs.changed ++ diffAttrs.removed) ); Loading ci/eval/compare/maintainers.nix +7 −2 Original line number Diff line number Diff line Loading @@ -11,6 +11,12 @@ # nix-instantiate --eval --strict --json test.nix -A result | jq # # Empty list as an output means success # Dependencies coming from the CI-pinned Nixpkgs { lib, }: # Function arguments { # Files that were changed # Type: ListOf (Nixpkgs-root-relative path) Loading @@ -18,7 +24,7 @@ # Attributes whose value was affected by the change # Type: ListOf (ListOf String) affectedAttrPaths, # Nixpkgs used to check maintainers. Customisable for testing pkgs ? import ../../.. { system = "x86_64-linux"; # We should never try to ping maintainers through package aliases, this can only lead to errors. Loading @@ -27,7 +33,6 @@ config.allowAliases = false; overlays = [ ]; }, lib, }: let nixpkgsRoot = toString ../../.. + "/"; Loading Loading
ci/eval/compare/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -158,8 +158,10 @@ let } ); getMaintainers = callPackage ./maintainers.nix { }; inherit (callPackage ./maintainers.nix { (getMaintainers { affectedAttrPaths = map (a: a.packagePath) ( convertToPackagePlatformAttrs (diffAttrs.changed ++ diffAttrs.removed) ); Loading
ci/eval/compare/maintainers.nix +7 −2 Original line number Diff line number Diff line Loading @@ -11,6 +11,12 @@ # nix-instantiate --eval --strict --json test.nix -A result | jq # # Empty list as an output means success # Dependencies coming from the CI-pinned Nixpkgs { lib, }: # Function arguments { # Files that were changed # Type: ListOf (Nixpkgs-root-relative path) Loading @@ -18,7 +24,7 @@ # Attributes whose value was affected by the change # Type: ListOf (ListOf String) affectedAttrPaths, # Nixpkgs used to check maintainers. Customisable for testing pkgs ? import ../../.. { system = "x86_64-linux"; # We should never try to ping maintainers through package aliases, this can only lead to errors. Loading @@ -27,7 +33,6 @@ config.allowAliases = false; overlays = [ ]; }, lib, }: let nixpkgsRoot = toString ../../.. + "/"; Loading