about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.6.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.6.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.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
index ff69c809288a..d2eb43c7ca5d 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
@@ -88,4 +88,7 @@ self: super: {
   stylish-cabal = doDistribute (markUnbroken (super.stylish-cabal.override { haddock-library = self.haddock-library_1_7_0; }));
   haddock-library_1_7_0 = dontCheck super.haddock-library_1_7_0;
 
+  # 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;
+
 }