gnome3.gnome-shell: hardcode gsettings path

This commit is contained in:
Tor Hedin Brønner 2019-09-16 10:49:58 +02:00
parent d27212d466
commit b916c65706
2 changed files with 10 additions and 0 deletions

View File

@ -60,6 +60,7 @@ in stdenv.mkDerivation rec {
(substituteAll {
src = ./fix-paths.patch;
inherit libgnomekbd unzip;
gsettings = "${glib.bin}/bin/gsettings";
})
];

View File

@ -19,3 +19,12 @@
+ Util.spawn(['@libgnomekbd@/bin/gkbd-keyboard-display', '-l', description]);
}
});
--- a/data/gnome-shell-disable-extensions.service
+++ b/data/gnome-shell-disable-extensions.service
@@ -10,5 +10,5 @@ Requisite=gnome-session-stable.timer
[Service]
Type=simple
# Disable extensions
-ExecStart=gsettings set org.gnome.shell disable-user-extensions true
+ExecStart=@gsettings@ set org.gnome.shell disable-user-extensions true
Restart=no