Skip to content

Commit 0c1c75a

Browse files
committed
fix(docs): Fix documentation rendering
Signed-off-by: Alexander V. Nikolaev <[email protected]>
1 parent f7010af commit 0c1c75a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/render.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,11 @@ in
209209
evaluated = lib.evalModules {
210210
modules = modules ++ [
211211
{
212-
imports = builtins.import "${inputs.nixpkgs}/nixos/modules/module-list.nix";
212+
# We need standard NixOS modules _plus_ `cardano.providers` inside context of evaluation, because lof of modules
213+
# refers to them in `default` statement.
214+
# Also we couldn't use `builtins.import`, because it raise a conflict in option definitions,
215+
# so use nested module with `imports = []` statement.
216+
imports = builtins.import "${inputs.nixpkgs}/nixos/modules/module-list.nix" ++ [ { imports = [ ../modules/providers.nix ]; } ];
213217
nixpkgs.system = system;
214218
}
215219
];

0 commit comments

Comments
 (0)