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>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.6.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.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 8e87134f617..ad6c17cbd10 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
@@ -95,5 +95,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;
 
+  # Older compilers need the latest ghc-lib to build this package.
+  hls-hlint-plugin = addBuildDepend super.hls-hlint-plugin self.ghc-lib;
+
   mmorph = super.mmorph_1_1_3;
 }