about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-10-06 10:43:50 +0200
committerPeter Simons <simons@cryp.to>2019-10-07 20:51:00 +0200
commit23ea4f8738f55607db29851f4950137cde725080 (patch)
tree2af2f56c1bef49a6018deb60a6b635c63b35d07c /pkgs/development
parentac0b895f239e0f464b0aefba084b0a1e4523979c (diff)
haskell-glib: patch to fix the build
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 1ddc15a2ca42b..7316d5758a0da 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1228,4 +1228,12 @@ self: super: {
   # The LTS-14.x version of optparse-applicative is too old.
   cabal-plan = super.cabal-plan.override { optparse-applicative = self.optparse-applicative_0_15_1_0; };
 
+  # https://github.com/gtk2hs/gtk2hs/issues/276
+  glib = appendPatch super.glib (pkgs.fetchpatch {
+    url = https://github.com/gtk2hs/gtk2hs/pull/282.patch;
+    name = "undefine-gcc-attribute-syntax";
+    sha256 = "1s72s683p2n5ri1a030zywciq0020ms64cmsy48axndp6dp9vri7";
+    stripLen = 1;
+  });
+
 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super