about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2020-04-17 20:41:50 +0200
committerPeter Simons <simons@cryp.to>2020-04-17 20:50:48 +0200
commitd6aedf7bcd2713f538096d124879861d54705243 (patch)
tree99c929ef7c41742085709aa78224a7c06558de3d /pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
parentabc4f961b4fc36715c73a984b3948657952c16dd (diff)
downloadnixlib-d6aedf7bcd2713f538096d124879861d54705243.tar
nixlib-d6aedf7bcd2713f538096d124879861d54705243.tar.gz
nixlib-d6aedf7bcd2713f538096d124879861d54705243.tar.bz2
nixlib-d6aedf7bcd2713f538096d124879861d54705243.tar.lz
nixlib-d6aedf7bcd2713f538096d124879861d54705243.tar.xz
nixlib-d6aedf7bcd2713f538096d124879861d54705243.tar.zst
nixlib-d6aedf7bcd2713f538096d124879861d54705243.zip
haskell-ghc-lib-parser-ex: fix build with GHC versions prior to 8.8.x
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
index 72c06d6d8abf..d5ae77e8246e 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
@@ -86,4 +86,7 @@ self: super: {
   # The old Haddock cannot process the newer documentation syntax.
   fast-logger = dontHaddock super.fast-logger;
 
+  # ghc versions prior to 8.8.x needs additional dependency to compile successfully.
+  ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex self.ghc-lib-parser;
+
 }