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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user