evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / gn / gnome-shell / fix-paths.patch
bloba87f5129152f162cf2deb9f59d153b54ffb4d88d
1 diff --git a/data/org.gnome.Shell-disable-extensions.service b/data/org.gnome.Shell-disable-extensions.service
2 index de91167c5..1c9965678 100644
3 --- a/data/org.gnome.Shell-disable-extensions.service
4 +++ b/data/org.gnome.Shell-disable-extensions.service
5 @@ -11,5 +11,5 @@ ConditionPathExists=%t/gnome-shell-disable-extensions
6 [Service]
7 Type=simple
8 # Disable extensions
9 -ExecStart=gsettings set org.gnome.shell disable-user-extensions true
10 +ExecStart=@gsettings@ set org.gnome.shell disable-user-extensions true
11 Restart=no
12 diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
13 index 197cc1c1c..dd74aa167 100644
14 --- a/js/ui/extensionDownloader.js
15 +++ b/js/ui/extensionDownloader.js
16 @@ -110,7 +110,7 @@ async function extractExtensionArchive(bytes, dir) {
17 stream.close_async(GLib.PRIORITY_DEFAULT, null);
19 const unzip = Gio.Subprocess.new(
20 - ['unzip', '-uod', dir.get_path(), '--', file.get_path()],
21 + ['@unzip@', '-uod', dir.get_path(), '--', file.get_path()],
22 Gio.SubprocessFlags.NONE);
23 await unzip.wait_check_async(null);
25 @@ -132,7 +132,7 @@ async function extractExtensionArchive(bytes, dir) {
28 const compileSchema = Gio.Subprocess.new(
29 - ['glib-compile-schemas', '--strict', schemasPath.get_path()],
30 + ['@glib_compile_schemas@', '--strict', schemasPath.get_path()],
31 Gio.SubprocessFlags.NONE);
33 try {
34 diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js
35 index fff4e73c2..92859b099 100644
36 --- a/js/ui/status/keyboard.js
37 +++ b/js/ui/status/keyboard.js
38 @@ -1092,6 +1092,6 @@ class InputSourceIndicator extends PanelMenu.Button {
39 if (xkbVariant.length > 0)
40 description = `${description}\t${xkbVariant}`;
42 - Util.spawn(['tecla', description]);
43 + Util.spawn(['@tecla@', description]);
45 });
46 diff --git a/subprojects/extensions-tool/src/command-install.c b/subprojects/extensions-tool/src/command-install.c
47 index 11fb4b6b7..e00e4807b 100644
48 --- a/subprojects/extensions-tool/src/command-install.c
49 +++ b/subprojects/extensions-tool/src/command-install.c
50 @@ -158,7 +158,7 @@ install_extension (const char *bundle,
52 schemapath = g_file_get_path (schemadir);
53 proc = g_subprocess_new (G_SUBPROCESS_FLAGS_STDERR_SILENCE, &error,
54 - "glib-compile-schemas", "--strict", schemapath,
55 + "@glib_compile_schemas@", "--strict", schemapath,
56 NULL);
58 if (!g_subprocess_wait_check (proc, NULL, &error))