summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-10-07 14:25:07 +0200
committerPeter Simons <simons@cryp.to>2019-10-07 20:51:00 +0200
commit56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8 (patch)
tree71599627bf7806aae4d9e5ac01b2ee28cdaaa35d
parent6d95c7b595ac61191211975e13f764329f7e73f9 (diff)
downloadnixpkgs-56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8.tar
nixpkgs-56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8.tar.gz
nixpkgs-56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8.tar.bz2
nixpkgs-56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8.tar.lz
nixpkgs-56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8.tar.xz
nixpkgs-56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8.tar.zst
nixpkgs-56e1ea32f4d07d2b02a45be7d1eabef861e3d0d8.zip
haskell-gtk: apply patch to fix the build
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index c89ac81d82e..70cb7dcf3c5 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