summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2021-02-05 22:37:50 +0100
committerPeter Simons <simons@cryp.to>2021-02-05 23:05:20 +0100
commit48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3 (patch)
tree79dd1d9d64a5dd80965325081658a2693d9d5f47 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
parent160d44972610a023e14ca4b06427f8b7075ea4a2 (diff)
downloadnixpkgs-48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3.tar
nixpkgs-48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3.tar.gz
nixpkgs-48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3.tar.bz2
nixpkgs-48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3.tar.lz
nixpkgs-48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3.tar.xz
nixpkgs-48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3.tar.zst
nixpkgs-48104ded6457f19c44fa6af7a8c97bb3bb9fc4f3.zip
hls-hlint-plugin: add new ghc-lib dependency when building with older compilers
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 d1099c56b2c..c23d875dea3 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -123,4 +123,8 @@ self: super: {
   # 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;
+
+  # Older compilers need the latest ghc-lib to build this package.
+  hls-hlint-plugin = addBuildDepend super.hls-hlint-plugin self.ghc-lib;
+
 }