From fbd700b12824ea644801b4b709f2a6aac458e95e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 18 Sep 2019 15:13:27 +0000 Subject: [PATCH] haskell-X11: patch the build to succeed with ghc-8.8.x --- .../development/haskell-modules/configuration-ghc-8.8.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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"; + }); + }