mkshell: small fix for #137005 (#137105)

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:
Geoff Reedy 2021-09-08 08:54:24 -06:00 committed by GitHub
parent 6338963691
commit c524608dca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@
let
mergeInputs = name:
(attrs.${name} or []) ++
(lib.subtractLists inputsFrom (lib.catAttrs name inputsFrom));
(lib.subtractLists inputsFrom (lib.flatten (lib.catAttrs name inputsFrom)));
rest = builtins.removeAttrs attrs [
"packages"