Skip to content
6 changes: 5 additions & 1 deletion docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
anchor = "services.cardano-node";
modules = [
config.flake.nixosModules.node
{ services.cardano-node.environment = "mainnet"; }
{
# we need to set this value otherwise the evaluation fails
# it's not shown in the docs (we show only types, default values, descriptions, etc...)
services.cardano-node.environment = "mainnet";
}
];
namespaces = [ "services.cardano-node" ];
}
Expand Down
2 changes: 1 addition & 1 deletion docs/development/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $ nix develop
[tools]

fmt - format the source tree
update-pre-commit-hooks - update git pre-commit hooks
update-git-hooks - update git hooks
```

A `.envrc` file is also provided, using [direnv](https://direnv.net/) and [nix-direnv](https://github.com/nix-community/nix-direnv) is suggested.
Expand Down
4 changes: 2 additions & 2 deletions docs/render.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,14 @@ in
...
}:
let
inherit (pkgs) stdenv mkdocs python312Packages;
inherit (pkgs) stdenv mkdocs python3Packages;

my-mkdocs =
pkgs.runCommand "my-mkdocs"
{
buildInputs = [
mkdocs
python312Packages.mkdocs-material
python3Packages.mkdocs-material
];
}
''
Expand Down
Loading