mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43: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;
|
||||
}) 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