haskell-gtk: apply patch to fix the build
commit56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8
authorPeter Simons <simons@cryp.to>
dateMon 7 Oct 2019, 14:25 (7 years ago)
parent6d95c7b
pkgs/development/haskell-modules/configuration-common.nix+6
@@ -1241,5 +1241,11 @@ self: super: {
12411241 sha256 = "1fadmibpk0q38fzp6a8ss6b1kh7v5d5mw3s9i45cd4dsg86hqb0i";
12421242 stripLen = 1;
12431243 });
1244+ gtk = appendPatch super.gtk (pkgs.fetchpatch {
1245+ url = https://github.com/gtk2hs/gtk2hs/pull/282/commits/a09720ae8fdc2f9391ba88308312e42d091a4f88.patch;
1246+ sha256 = "12ja6sprzl9si51rng8s2xx66ihpm6d6p00qi5czkpkrhr0457n7";
1247+ stripLen = 1;
1248+ postFetch = "sed -i -e s,gtk.cabal-renamed,gtk.cabal, $out";
1249+ });
12441250
12451251} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super