From aa9de0166c8618b5c640e5d58b9c071ba76d702c Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Sun, 12 Apr 2026 18:34:47 +0300 Subject: [PATCH] Fix option rendering from services.cardano-node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In `cardano.nix` we generate documentation pages from services,cardano-node, and evaluation failed with: `error: expected a set but found the built-in function 'path': «primop path»` (That happens because `type = path` expect lib.type.path and not builtins.path) Signed-off-by: Alexander V. Nikolaev --- nix/nixos/cardano-node-service.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/nixos/cardano-node-service.nix b/nix/nixos/cardano-node-service.nix index 86843a617b0..36e786669fa 100644 --- a/nix/nixos/cardano-node-service.nix +++ b/nix/nixos/cardano-node-service.nix @@ -5,7 +5,7 @@ with lib; with builtins; let - inherit (types) attrs attrsOf bool either enum functionTo int listOf package nullOr str; + inherit (types) attrs attrsOf bool either enum functionTo int listOf path package nullOr str; cfg = config.services.cardano-node; envConfig = cfg.environments.${cfg.environment};