From 56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 7 Oct 2019 14:25:07 +0200 Subject: haskell-gtk: apply patch to fix the build --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index c89ac81d82eb..70cb7dcf3c56 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1241,5 +1241,11 @@ self: super: { sha256 = "1fadmibpk0q38fzp6a8ss6b1kh7v5d5mw3s9i45cd4dsg86hqb0i"; stripLen = 1; }); + gtk = appendPatch super.gtk (pkgs.fetchpatch { + url = https://github.com/gtk2hs/gtk2hs/pull/282/commits/a09720ae8fdc2f9391ba88308312e42d091a4f88.patch; + sha256 = "12ja6sprzl9si51rng8s2xx66ihpm6d6p00qi5czkpkrhr0457n7"; + stripLen = 1; + postFetch = "sed -i -e s,gtk.cabal-renamed,gtk.cabal, $out"; + }); } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super -- cgit 1.4.1