nixos/documentation: Forward the specialArgs
This is necessary when generating the complete documenation for configurations that import modules from the module arguments.
This commit is contained in:
parent
bf5b75864d
commit
e135c417bb
|
@ -1,4 +1,4 @@
|
|||
{ config, options, lib, pkgs, utils, modules, baseModules, extraModules, modulesPath, ... }:
|
||||
{ config, options, lib, pkgs, utils, modules, baseModules, extraModules, modulesPath, specialArgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
@ -41,7 +41,7 @@ let
|
|||
modules = [ {
|
||||
_module.check = false;
|
||||
} ] ++ docModules.eager;
|
||||
specialArgs = {
|
||||
specialArgs = specialArgs // {
|
||||
pkgs = scrubDerivations "pkgs" pkgs;
|
||||
# allow access to arbitrary options for eager modules, eg for getting
|
||||
# option types from lazy modules
|
||||
|
|
Loading…
Reference in New Issue
Block a user