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.
This commit is contained in:
Matt Moriarity
2026-04-29 17:39:44 -06:00
parent 4fee57762d
commit 108d65727e
+3 -1
View File
@@ -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
)