gnome3_22.gnome-session: lookup of gnome-settings-daemon.desktop

This commit is contained in:
Alexander Ried 2016-10-02 19:00:23 +02:00
parent 3acee13364
commit 5125161a77
3 changed files with 2 additions and 4 deletions

View File

@ -97,7 +97,6 @@ in
environment = {
GDM_X_SERVER = "${cfg.xserverBin} ${cfg.xserverArgs}";
GDM_SESSIONS_DIR = "${cfg.session.desktops}";
XDG_CONFIG_DIRS = "${gnome3.gnome_settings_daemon}/etc/xdg";
# Find the mouse
XCURSOR_PATH = "~/.icons:${config.system.path}/share/icons";
};

View File

@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
--prefix PATH : "${glib.dev}/bin" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--suffix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \
--suffix XDG_DATA_DIRS : "${gnome3.gnome_shell}/share"
--suffix XDG_DATA_DIRS : "${gnome3.gnome_shell}/share" \
--suffix XDG_CONFIG_DIRS : "${gnome3.gnome_settings_daemon}/etc/xdg"
'';
meta = with stdenv.lib; {

View File

@ -22,8 +22,6 @@ stdenv.mkDerivation rec {
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--prefix PATH : "${glib.dev}/bin" \
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH"
mkdir -p "$out/share/gnome/autostart"
cp "$out/etc/xdg/autostart/gnome-settings-daemon.desktop" "$out/share/gnome/autostart"
'';
meta = with stdenv.lib; {