buildenv: don't pass null paths to writeClosure
This commit is contained in:
parent
1f0ce6a4e5
commit
f32ec5e6d7
@ -69,7 +69,11 @@ let
|
||||
priority = drv.meta.priority or lib.meta.defaultPriority;
|
||||
}) paths;
|
||||
|
||||
pathsForClosure = lib.flatten (map (p: p.paths) chosenOutputs);
|
||||
pathsForClosure = lib.pipe chosenOutputs [
|
||||
(map (p: p.paths))
|
||||
lib.flatten
|
||||
(lib.remove null)
|
||||
];
|
||||
in runCommand name
|
||||
rec {
|
||||
inherit manifest ignoreCollisions checkCollisionContents passthru
|
||||
|
Loading…
Reference in New Issue
Block a user