mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #144607 from hercules-ci/fix-find-tarballs-avoid-tests
find-tarballs.nix: Avoid all passthru attrs
This commit is contained in:
commit
8dd2f31e6e
@ -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 []
|
||||
|
Loading…
Reference in New Issue
Block a user