summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2020-11-17 01:20:11 +0100
committerPeter Simons <simons@cryp.to>2020-11-20 20:57:38 +0100
commit8a559a2a08d2ff9f9944c7de240ecd21950765dd (patch)
tree8538edebe1bd0c0d872907f08d710a11d3d74a1f /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
parent93e8e7eb627577a9bb1b8dd73fb2a54a83f4d66e (diff)
haskell.packages.ghc884.ghc-lib-parser-ex: Fix build for hls
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix4
1 files changed, 4 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 e83b25659f2cf..546f3a053adc6 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -124,4 +124,8 @@ self: super: {
 
   # This became a core library in ghc 8.10., so we don‘t have an "exception" attribute anymore.
   exceptions = super.exceptions_0_10_4;
+
+  # ghc versions which don‘t match the ghc-lib-parser-ex version need the
+  # additional dependency to compile successfully.
+  ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex self.ghc-lib-parser;
 }