forked from mirrors/nixpkgs
lib/modules: pass specialArgs as a module argument
This commit is contained in:
parent
1b1d7e93dc
commit
c949e60220
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue