Merge pull request #144607 from hercules-ci/fix-find-tarballs-avoid-tests

find-tarballs.nix: Avoid all passthru attrs
This commit is contained in:
Robert Hensing
2021-11-04 16:14:02 +01:00
committed by GitHub
+1 -1
View File
@@ -37,7 +37,7 @@ let
keyDrv = drv: if canEval drv.drvPath then { key = drv.drvPath; value = drv; } else { };
immediateDependenciesOf = drv:
concatLists (mapAttrsToList (n: v: derivationsIn v) (removeAttrs drv ["meta" "passthru"]));
concatLists (mapAttrsToList (n: v: derivationsIn v) (removeAttrs drv (["meta" "passthru"] ++ optionals (drv?passthru) (attrNames drv.passthru))));
derivationsIn = x:
if !canEval x then []