diff --git a/pkgs/desktops/gnome/extensions/extensionOverrides.nix b/pkgs/desktops/gnome/extensions/extensionOverrides.nix index 696cff422607..94a66c58a89c 100644 --- a/pkgs/desktops/gnome/extensions/extensionOverrides.nix +++ b/pkgs/desktops/gnome/extensions/extensionOverrides.nix @@ -54,6 +54,14 @@ in # the upstream repository's sources. super: lib.trivial.pipe super [ + (patchExtension "appindicatorsupport@rgcjonas.gmail.com" (old: { + patches = [ + (replaceVars ./extensionOverridesPatches/appindicatorsupport_at_rgcjonas.gmail.com.patch { + gjs = lib.getExe gjs; + }) + ]; + })) + (patchExtension "apps-menu@gnome-shell-extensions.gcampax.github.com" (old: { patches = [ (replaceVars diff --git a/pkgs/desktops/gnome/extensions/extensionOverridesPatches/appindicatorsupport_at_rgcjonas.gmail.com.patch b/pkgs/desktops/gnome/extensions/extensionOverridesPatches/appindicatorsupport_at_rgcjonas.gmail.com.patch new file mode 100644 index 000000000000..9179e8039063 --- /dev/null +++ b/pkgs/desktops/gnome/extensions/extensionOverridesPatches/appindicatorsupport_at_rgcjonas.gmail.com.patch @@ -0,0 +1,13 @@ +diff --git a/statusNotifierWatcher.js b/statusNotifierWatcher.js +index c4c3486..67cf761 100644 +--- a/statusNotifierWatcher.js ++++ b/statusNotifierWatcher.js +@@ -160,7 +160,7 @@ export class StatusNotifierWatcher { + extension.path, 'tools', 'busAnalyzer.js', + ]); + +- const subProcess = Gio.Subprocess.new(['gjs', '-m', busAnalyzer], ++ const subProcess = Gio.Subprocess.new(['@gjs@', '-m', busAnalyzer], + Gio.SubprocessFlags.STDOUT_PIPE | Gio.SubprocessFlags.STDERR_PIPE); + + const stdOut = subProcess.get_stdout_pipe();