git.iko.soy/typeable/nixpkgs
on master help sign in
gnome3.mutter328: hardcode path to zenity
commitc4df83279ead0b02206a2f394a66a0ddda07b3c1 authorworldofpeace <worldofpeace@users.noreply.github.com> dateSun 31 Mar 2019, 19:38 (8 years ago) parent874856a
2 files changed+21−1
pkgs/desktops/gnome-3/core/mutter/3.28.nix+8−1 pkgs/desktops/gnome-3/core/mutter/fix-paths-328.patch+13
pkgs/desktops/gnome-3/core/mutter/3.28.nix+8−1
@@ -1,4 +1,4 @@
1−{ fetchFromGitLab, stdenv, fetchpatch, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
1+{ fetchFromGitLab, stdenv, substituteAll, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
22, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
33, gsettings-desktop-schemas, gnome-desktop
44, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
@@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
1616 sha256 = "1rmc1bf80yq776xhygi1jzgia1y44j2mr2n94vlxgzqc0whamx2v";
1717 };
1818
19+ patches = [
20+ (substituteAll {
21+ src = ./fix-paths-328.patch;
22+ inherit zenity;
23+ })
24+ ];
25+
1926 configureFlags = [
2027 "--with-x"
2128 "--disable-static"
pkgs/desktops/gnome-3/core/mutter/fix-paths-328.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/src/core/util.c b/src/core/util.c
2+index 5b8de18c7..546352a95 100644
3+--- a/src/core/util.c
4++++ b/src/core/util.c
5+@@ -635,7 +635,7 @@ meta_show_dialog (const char *type,
6+
7+ args = g_ptr_array_new ();
8+
9+- append_argument (args, "zenity");
10++ append_argument (args, "@zenity@/bin/zenity");
11+ append_argument (args, type);
12+
13+ if (display)