Unverified Commit 108d6572 authored by Matt Moriarity's avatar Matt Moriarity
Browse files

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.
parent 4fee5776
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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
                )