Fix copy-tarballs.pl

This commit is contained in:
Eelco Dolstra
2019-01-24 16:01:49 +01:00
parent fbd7d43c39
commit 11cf7d6e1f
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ let
if !canEval x then []
else if isDerivation x then optional (canEval x.drvPath) x
else if isList x then concatLists (map derivationsIn' x)
else if isAttrs x then concatLists (mapAttrsToList (n: v: derivationsIn' v) x)
else if isAttrs x then concatLists (mapAttrsToList (n: v: addErrorContext "while finding tarballs in '${n}':" (derivationsIn' v)) x)
else [ ];
keyDrv = drv: if canEval drv.drvPath then { key = drv.drvPath; value = drv; } else { };