From 16c59ef83672aa41aae47f6603e7bd8fb185c3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 3 May 2013 11:59:37 +0200 Subject: [PATCH] xfce4session: fix a bug causing random crashes This should work, finally https://bugzilla.xfce.org/show_bug.cgi?id=9709 --- pkgs/desktops/xfce/core/xfce4-session.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/xfce/core/xfce4-session.nix b/pkgs/desktops/xfce/core/xfce4-session.nix index a8da711ad0b..6eeffdd5ead 100644 --- a/pkgs/desktops/xfce/core/xfce4-session.nix +++ b/pkgs/desktops/xfce/core/xfce4-session.nix @@ -15,7 +15,12 @@ stdenv.mkDerivation rec { }; name = "${p_name}-${ver_maj}.${ver_min}"; - patches = [ ./xfce4-session-systemd.patch ]; + patch_crash = fetchurl { + url = "http://git.xfce.org/xfce/xfce4-session/patch/?id=ab391138cacc62ab184a338e237c4430356b41f9"; + sha256 = "1kydj52hm883rdanpcqzf5qphj0ws2v28g8fim8jv2pm72d33day"; + }; + + patches = [ ./xfce4-session-systemd.patch patch_crash ]; buildInputs = [ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus_glib