summary refs log tree commit diff
path: root/pkgs/applications/misc/tootle/default.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-10-14 16:46:49 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-14 16:49:39 -0400
commit836d2ee1c1a5809dbafc00a5743ef64b3408a43f (patch)
treef0b67e687104d40ab189f2d9aba95aa8ac5b77ad /pkgs/applications/misc/tootle/default.nix
parentf0e5192fe2212afcc2f8f9b11218c8969e3f632e (diff)
downloadnixpkgs-836d2ee1c1a5809dbafc00a5743ef64b3408a43f.tar
nixpkgs-836d2ee1c1a5809dbafc00a5743ef64b3408a43f.tar.gz
nixpkgs-836d2ee1c1a5809dbafc00a5743ef64b3408a43f.tar.bz2
nixpkgs-836d2ee1c1a5809dbafc00a5743ef64b3408a43f.tar.lz
nixpkgs-836d2ee1c1a5809dbafc00a5743ef64b3408a43f.tar.xz
nixpkgs-836d2ee1c1a5809dbafc00a5743ef64b3408a43f.tar.zst
nixpkgs-836d2ee1c1a5809dbafc00a5743ef64b3408a43f.zip
tootle: fix build with vala 0.46
See: https://github.com/bleakgrey/tootle/pull/164
Diffstat (limited to 'pkgs/applications/misc/tootle/default.nix')
-rw-r--r--pkgs/applications/misc/tootle/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/misc/tootle/default.nix b/pkgs/applications/misc/tootle/default.nix
index e747531b9e7..8db055481cc 100644
--- a/pkgs/applications/misc/tootle/default.nix
+++ b/pkgs/applications/misc/tootle/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub
+{ stdenv, fetchFromGitHub, fetchpatch
 , vala, meson, ninja, pkgconfig, python3, libgee, gsettings-desktop-schemas
 , gnome3, pantheon, gobject-introspection, wrapGAppsHook
 , gtk3, json-glib, glib, glib-networking
@@ -31,6 +31,15 @@ in stdenv.mkDerivation {
     libgee gnome3.libsoup gsettings-desktop-schemas
   ];
 
+  patches = [
+    # Fix build with Vala 0.46
+    # https://github.com/bleakgrey/tootle/pull/164
+    (fetchpatch {
+      url = "https://github.com/worldofpeace/tootle/commit/0a88bdad6d969ead1e4058b1a19675c9d6857b16.patch";
+      sha256 = "0xyx00pgswnhxxbsxngsm6khvlbfcl6ic5wv5n64x7klk8rzh6cm";
+    })
+  ];
+
   postPatch = ''
     chmod +x ./meson/post_install.py
     patchShebangs ./meson/post_install.py