Skip to content

Commit 5d8dafe

Browse files
authored
xfce.xfce4-session: 4.20.0 -> 4.20.2 (#394334)
2 parents 30f7913 + d0cb1cb commit 5d8dafe

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

pkgs/desktops/xfce/core/xfce4-session/default.nix

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{ lib
22
, mkXfceDerivation
3+
, fetchpatch
34
, polkit
45
, exo
56
, libxfce4util
@@ -17,9 +18,25 @@
1718
mkXfceDerivation {
1819
category = "xfce";
1920
pname = "xfce4-session";
20-
version = "4.20.0";
21+
version = "4.20.2";
2122

22-
sha256 = "sha256-mn3ky1NzrpQZRkhc605mj+GFhbFq26eW59YKUfnX9X8=";
23+
sha256 = "sha256-wd+8W9Z0dH7bqILBUNG9YxpRf8TnRJ/7b3QviM1HVnY=";
24+
25+
patches = [
26+
# Use syntax compatible with most sh shells
27+
# The `**` syntax is a bash extension
28+
(fetchpatch {
29+
url = "https://gitlab.xfce.org/xfce/xfce4-session/-/commit/53d6e20a29948ae7aa179447cef0704786b77f8b.patch";
30+
hash = "sha256-c8IU1VOcEYdZJy8Eq2wqSL5tTXt7gKfGOs7jxb8npOE=";
31+
})
32+
33+
# wayland: start a D-Bus session only if there isn't one already
34+
# https://gitlab.xfce.org/xfce/xfce4-session/-/issues/218
35+
(fetchpatch {
36+
url = "https://gitlab.xfce.org/xfce/xfce4-session/-/commit/f6e2805b8a7742172f399d78618313bcb28bf095.patch";
37+
hash = "sha256-EViVialDbdLH2SGUtcroo5iGc+B4HVJajV7PMl5q6vs=";
38+
})
39+
];
2340

2441
buildInputs = [
2542
exo

0 commit comments

Comments
 (0)