mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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 New Issue
Block a user