about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
diff options
context:
space:
mode:
authormaralorn <mail@maralorn.de>2022-09-21 06:06:28 +0200
committermaralorn <mail@maralorn.de>2022-09-21 06:12:47 +0200
commit352da0ce3117965dc5b2c460ceddd520549b99d2 (patch)
tree047f30ad5242ae899b0fea4ec2167b93399b9d48 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
parent89c97c03edb3b645b0604ea9415bb4a06eb40921 (diff)
downloadnixlib-352da0ce3117965dc5b2c460ceddd520549b99d2.tar
nixlib-352da0ce3117965dc5b2c460ceddd520549b99d2.tar.gz
nixlib-352da0ce3117965dc5b2c460ceddd520549b99d2.tar.bz2
nixlib-352da0ce3117965dc5b2c460ceddd520549b99d2.tar.lz
nixlib-352da0ce3117965dc5b2c460ceddd520549b99d2.tar.xz
nixlib-352da0ce3117965dc5b2c460ceddd520549b99d2.tar.zst
nixlib-352da0ce3117965dc5b2c460ceddd520549b99d2.zip
haskellPackages.hlint: Fix plugin and ghc924 jobs
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.nix7
1 files changed, 7 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 05585b885650..071cdeaa5030 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -153,6 +153,13 @@ self: super: {
     lsp-types = doJailbreak lsuper.lsp-types;
   }));
 
+  hls-hlint-plugin = super.hls-hlint-plugin.overrideScope (lself: lsuper: {
+    # For "ghc-lib" flag see https://github.com/haskell/haskell-language-server/issues/3185#issuecomment-1250264515
+    hlint = lself.hlint_3_2_8;
+    ghc-lib-parser = lself.ghc-lib-parser_8_10_7_20220219;
+    ghc-lib-parser-ex = addBuildDepend lself.ghc-lib-parser lself.ghc-lib-parser-ex_8_10_0_24;
+  });
+
   hls-brittany-plugin = super.hls-brittany-plugin.overrideScope (lself: lsuper: {
     brittany = doJailbreak lself.brittany_0_13_1_2;
     aeson = lself.aeson_1_5_6_0;