From 108d65727eac6df74d2bab06122e253846dc44aa Mon Sep 17 00:00:00 2001 From: Matt Moriarity Date: Wed, 29 Apr 2026 17:39:40 -0600 Subject: [PATCH] nixos/fish: fix documentation eval error `config.system.build.manual` being present requires both `config.documentation.enable` and `config.documentation.nixos.enable` to be true, so this check needs to match that. --- nixos/modules/programs/fish.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/programs/fish.nix b/nixos/modules/programs/fish.nix index 979001725413..86c29477ebcc 100644 --- a/nixos/modules/programs/fish.nix +++ b/nixos/modules/programs/fish.nix @@ -302,7 +302,9 @@ in fi ''; packages = - if config.documentation.nixos.enable && config.documentation.man.enable then + if + config.documentation.enable && config.documentation.nixos.enable && config.documentation.man.enable + then builtins.filter (pkg: pkg != config.system.build.manual.nixos-configuration-reference-manpage) ( cfge.systemPackages ++ cfg.extraCompletionPackages )