Merge pull request #132691 from NixOS/backport-131305-to-release-21.05
[Backport release-21.05] nixos-icons: fix icons not installed when documentation disabled
This commit is contained in:
commit
4e241b6e3f
|
@ -258,8 +258,7 @@ in
|
||||||
|
|
||||||
environment.systemPackages = []
|
environment.systemPackages = []
|
||||||
++ optional cfg.man.enable manual.manpages
|
++ optional cfg.man.enable manual.manpages
|
||||||
++ optionals cfg.doc.enable ([ manual.manualHTML nixos-help ]
|
++ optionals cfg.doc.enable [ manual.manualHTML nixos-help ];
|
||||||
++ optionals config.services.xserver.enable [ pkgs.nixos-icons ]);
|
|
||||||
|
|
||||||
services.getty.helpLine = mkIf cfg.doc.enable (
|
services.getty.helpLine = mkIf cfg.doc.enable (
|
||||||
"\nRun 'nixos-help' for the NixOS manual."
|
"\nRun 'nixos-help' for the NixOS manual."
|
||||||
|
|
|
@ -651,6 +651,7 @@ in
|
||||||
pkgs.xterm
|
pkgs.xterm
|
||||||
pkgs.xdg-utils
|
pkgs.xdg-utils
|
||||||
xorg.xf86inputevdev.out # get evdev.4 man page
|
xorg.xf86inputevdev.out # get evdev.4 man page
|
||||||
|
pkgs.nixos-icons # needed for gnome and pantheon about dialog, nixos-manual and maybe more
|
||||||
]
|
]
|
||||||
++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh;
|
++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue