mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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;
|
priority = drv.meta.priority or lib.meta.defaultPriority;
|
||||||
}) paths;
|
}) 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
|
in runCommand name
|
||||||
rec {
|
rec {
|
||||||
inherit manifest ignoreCollisions checkCollisionContents passthru
|
inherit manifest ignoreCollisions checkCollisionContents passthru
|
||||||
|
Loading…
Reference in New Issue
Block a user