nixos/gnome3: warn against sessionPath

This commit is contained in:
Jan Tojnar 2018-08-01 19:02:50 +02:00
parent 9cd6342008
commit 62e665e1ec
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -57,8 +57,12 @@ in {
sessionPath = mkOption {
default = [];
example = literalExample "[ pkgs.gnome3.gpaste ]";
description = "Additional list of packages to be added to the session search path.
Useful for gnome shell extensions or gsettings-conditionated autostart.";
description = ''
Additional list of packages to be added to the session search path.
Useful for GNOME Shell extensions or GSettings-conditional autostart.
Note that this should be a last resort; patching the package is preferred (see GPaste).
'';
apply = list: list ++ [ pkgs.gnome3.gnome-shell pkgs.gnome3.gnome-shell-extensions ];
};