From 836d2ee1c1a5809dbafc00a5743ef64b3408a43f Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Mon, 14 Oct 2019 16:46:49 -0400 Subject: tootle: fix build with vala 0.46 See: https://github.com/bleakgrey/tootle/pull/164 --- pkgs/applications/misc/tootle/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/misc/tootle/default.nix') 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 -- cgit 1.4.1