summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/networking/cawbird/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cawbird/default.nix b/pkgs/applications/networking/cawbird/default.nix
index edcf9b2846e..51657659b95 100644
--- a/pkgs/applications/networking/cawbird/default.nix
+++ b/pkgs/applications/networking/cawbird/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchFromGitHub, glib, gtk3, json-glib, sqlite, libsoup, gettext, vala
 , meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobject-introspection
-, glib-networking, python3 }:
+, glib-networking, python3, fetchpatch }:
 
 stdenv.mkDerivation rec {
   version = "1.0.1";
@@ -22,6 +22,14 @@ stdenv.mkDerivation rec {
     glib gtk3 json-glib sqlite libsoup gettext gnome3.dconf gnome3.gspell glib-networking
   ] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad (gst-plugins-good.override { gtkSupport = true; }) gst-libav ]);
 
+  patches = [
+    # Fix build with vala 0.46
+    (fetchpatch {
+      url = "https://github.com/IBBoard/cawbird/commit/7b88f8856d108b9555ba7b855c7daed7b9e745ca.patch";
+      sha256 = "10kfdy91yas4xyz0hd057q6nsqfrkljcj7pql81xgm43qaff31y0";
+    })
+  ];
+
   postPatch = ''
     chmod +x data/meson_post_install.py # patchShebangs requires executable file
     patchShebangs data/meson_post_install.py