mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
gnomeExtensions.appindicator: Hardcode gjs path (#540374)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
Reference in New Issue
Block a user