gnome3.mutter328: hardcode path to zenity
This commit is contained in:
parent
874856a228
commit
c4df83279e
@ -1,4 +1,4 @@
|
|||||||
{ fetchFromGitLab, stdenv, fetchpatch, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
|
{ fetchFromGitLab, stdenv, substituteAll, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
|
||||||
, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
|
, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
|
||||||
, gsettings-desktop-schemas, gnome-desktop
|
, gsettings-desktop-schemas, gnome-desktop
|
||||||
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
|
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
|
||||||
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1rmc1bf80yq776xhygi1jzgia1y44j2mr2n94vlxgzqc0whamx2v";
|
sha256 = "1rmc1bf80yq776xhygi1jzgia1y44j2mr2n94vlxgzqc0whamx2v";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(substituteAll {
|
||||||
|
src = ./fix-paths-328.patch;
|
||||||
|
inherit zenity;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-x"
|
"--with-x"
|
||||||
"--disable-static"
|
"--disable-static"
|
||||||
|
13
pkgs/desktops/gnome-3/core/mutter/fix-paths-328.patch
Normal file
13
pkgs/desktops/gnome-3/core/mutter/fix-paths-328.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/core/util.c b/src/core/util.c
|
||||||
|
index 5b8de18c7..546352a95 100644
|
||||||
|
--- a/src/core/util.c
|
||||||
|
+++ b/src/core/util.c
|
||||||
|
@@ -635,7 +635,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