3
0
Fork 0
forked from mirrors/nixpkgs

lib/modules: pass specialArgs as a module argument

This commit is contained in:
Pacman99 2021-05-05 18:42:52 -07:00
parent 1b1d7e93dc
commit c949e60220

View file

@ -127,7 +127,7 @@ rec {
let collected = collectModules
(specialArgs.modulesPath or "")
(modules ++ [ internalModule ])
({ inherit lib options config; } // specialArgs);
({ inherit lib options config specialArgs; } // specialArgs);
in mergeModules prefix (reverseList collected);
options = merged.matchedOptions;