mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
I somehow accidentally left out the lib.flatten from mergeInputs. Without it, subtractLists won't ever remove anything from the inputs since the inputs will be a list of lists.
This commit is contained in:
parent
6338963691
commit
c524608dca
@ -16,7 +16,7 @@
|
|||||||
let
|
let
|
||||||
mergeInputs = name:
|
mergeInputs = name:
|
||||||
(attrs.${name} or []) ++
|
(attrs.${name} or []) ++
|
||||||
(lib.subtractLists inputsFrom (lib.catAttrs name inputsFrom));
|
(lib.subtractLists inputsFrom (lib.flatten (lib.catAttrs name inputsFrom)));
|
||||||
|
|
||||||
rest = builtins.removeAttrs attrs [
|
rest = builtins.removeAttrs attrs [
|
||||||
"packages"
|
"packages"
|
||||||
|
Loading…
Reference in New Issue
Block a user