Skip to content

Commit 1e084a8

Browse files
committed
pantheon.wingpanel-indicator-session: fix build with latest vala
1 parent 6df7a93 commit 1e084a8

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

  • pkgs/desktops/pantheon/desktop/wingpanel-indicators/session

pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{ stdenv
22
, fetchFromGitHub
3+
, fetchpatch
34
, pantheon
45
, pkgconfig
56
, meson
@@ -23,6 +24,19 @@ stdenv.mkDerivation rec {
2324
sha256 = "02inp8xdxfx8qxjdf2nazw46ahp1gv3skd922ma6kgx5w4wxh5l8";
2425
};
2526

27+
patches = [
28+
# build failure in vala 0.48.7
29+
# https://github.com/elementary/gala/pull/869#issuecomment-657147695
30+
(fetchpatch {
31+
url = "https://github.com/elementary/wingpanel-indicator-session/commit/ead6971c708eed8b844bd9acd7eed2ab8a97e803.patch";
32+
sha256 = "1v7w7zdia82d38ycr5zhckaxgf7gr15hsv05cv5khlki8frryn2x";
33+
})
34+
(fetchpatch {
35+
url = "https://github.com/elementary/wingpanel-indicator-session/commit/85347e676054635ac878fc542bd057398ca70d3e.patch";
36+
sha256 = "1vw4zx0qbhxmfzqhdcmwdp4fxvij7n3f5lwcplf5v3k9qsr3wm0n";
37+
})
38+
];
39+
2640
passthru = {
2741
updateScript = pantheon.updateScript {
2842
attrPath = "pantheon.${pname}";

0 commit comments

Comments
 (0)