nixos/fish: fix documentation eval error (#514899)

This commit is contained in:
Fernando Rodrigues
2026-04-29 23:53:05 +00:00
committed by GitHub
+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
)