summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-09-18 15:13:27 +0000
committerPeter Simons <simons@cryp.to>2019-09-22 13:43:09 +0200
commitfbd700b12824ea644801b4b709f2a6aac458e95e (patch)
tree0713dbae3e4cf84edfa3caf0d72389944a52c752 /pkgs/development/haskell-modules
parentda2e9d26ef8383f0c170e39e0ca444fa89f4d52a (diff)
downloadnixpkgs-fbd700b12824ea644801b4b709f2a6aac458e95e.tar
nixpkgs-fbd700b12824ea644801b4b709f2a6aac458e95e.tar.gz
nixpkgs-fbd700b12824ea644801b4b709f2a6aac458e95e.tar.bz2
nixpkgs-fbd700b12824ea644801b4b709f2a6aac458e95e.tar.lz
nixpkgs-fbd700b12824ea644801b4b709f2a6aac458e95e.tar.xz
nixpkgs-fbd700b12824ea644801b4b709f2a6aac458e95e.tar.zst
nixpkgs-fbd700b12824ea644801b4b709f2a6aac458e95e.zip
haskell-X11: patch the build to succeed with ghc-8.8.x
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
index 9e613c6f933..cead355b145 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -167,4 +167,10 @@ self: super: {
   # break out of 'time >=1.4.2 && <1.9'
   HStringTemplate = doJailbreak super.HStringTemplate;
 
+  # don't use obsolete "defaultUserHooks" in Setup.hs
+  X11 = appendPatch super.X11 (pkgs.fetchpatch {
+    url = "https://github.com/xmonad/X11/commit/8d817617afa1b54e6c50a9cc552dc1c0804c1794.patch";
+    sha256 = "0zsgzn0nvdxvqi5z0za3gzlhql2x5d5cr0kkr19j5c67fy177w6b";
+  });
+
 }