gnome3.mutter: hardcode path to zenity
This commit is contained in:
parent
3388f833d7
commit
b8e655ad6e
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, fetchpatch, stdenv, pkgconfig, gnome3, gettext, gobject-introspection, upower, cairo
|
{ fetchurl, substituteAll, stdenv, pkgconfig, gnome3, gettext, gobject-introspection, upower, cairo
|
||||||
, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
|
, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
|
||||||
, ninja, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
|
, ninja, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
|
||||||
, gsettings-desktop-schemas, glib, gtk3, gnome-desktop
|
, gsettings-desktop-schemas, glib, gtk3, gnome-desktop
|
||||||
@ -47,6 +47,13 @@ stdenv.mkDerivation rec {
|
|||||||
gnome-settings-daemon
|
gnome-settings-daemon
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(substituteAll {
|
||||||
|
src = ./fix-paths.patch;
|
||||||
|
inherit zenity;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs src/backends/native/gen-default-modes.py
|
patchShebangs src/backends/native/gen-default-modes.py
|
||||||
'';
|
'';
|
||||||
|
13
pkgs/desktops/gnome-3/core/mutter/fix-paths.patch
Normal file
13
pkgs/desktops/gnome-3/core/mutter/fix-paths.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/core/util.c b/src/core/util.c
|
||||||
|
index 57b73747d..f424cc81c 100644
|
||||||
|
--- a/src/core/util.c
|
||||||
|
+++ b/src/core/util.c
|
||||||
|
@@ -636,7 +636,7 @@ meta_show_dialog (const char *type,
|
||||||
|
|
||||||
|
args = g_ptr_array_new ();
|
||||||
|
|
||||||
|
- append_argument (args, "zenity");
|
||||||
|
+ append_argument (args, "@zenity@/bin/zenity");
|
||||||
|
append_argument (args, type);
|
||||||
|
|
||||||
|
if (display)
|
Loading…
x
Reference in New Issue
Block a user