about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
diff options
context:
space:
mode:
authormaralorn <mail@maralorn.de>2023-04-03 16:27:33 +0200
committermaralorn <mail@maralorn.de>2023-04-03 16:27:33 +0200
commitf8ca8c031bcefb5823803582dddec1387e582a97 (patch)
tree82441718a27707149e98ec0ca008a83c29f08b04 /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
parent5ddf8ec5a8ba62f5e117a7700946f56e711a9618 (diff)
downloadnixlib-f8ca8c031bcefb5823803582dddec1387e582a97.tar
nixlib-f8ca8c031bcefb5823803582dddec1387e582a97.tar.gz
nixlib-f8ca8c031bcefb5823803582dddec1387e582a97.tar.bz2
nixlib-f8ca8c031bcefb5823803582dddec1387e582a97.tar.lz
nixlib-f8ca8c031bcefb5823803582dddec1387e582a97.tar.xz
nixlib-f8ca8c031bcefb5823803582dddec1387e582a97.tar.zst
nixlib-f8ca8c031bcefb5823803582dddec1387e582a97.zip
haskell.packages.ghc96.haskell-language-server: Fix build
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
index 9263a38c55a6..c7e7ce62219c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
@@ -125,4 +125,46 @@ self: super: {
   # Test suite doesn't compile with base-4.18 / GHC 9.6
   # https://github.com/dreixel/syb/issues/40
   syb = dontCheck super.syb;
+
+  # 2023-04-03: plugins disabled for hls 1.10.0.0 based on
+  #
+  haskell-language-server = super.haskell-language-server.override {
+    hls-ormolu-plugin = null;
+    hls-floskell-plugin = null;
+    hls-fourmolu-plugin = null;
+    hls-hlint-plugin = null;
+    hls-stylish-haskell-plugin = null;
+  };
+
+  MonadRandom = super.MonadRandom_0_6;
+  unix-compat = super.unix-compat_0_7;
+  lifted-base = dontCheck super.lifted-base;
+  hw-fingertree = dontCheck super.hw-fingertree;
+  hw-prim = dontCheck (doJailbreak super.hw-prim);
+  stm-containers = dontCheck super.stm-containers;
+  regex-tdfa = dontCheck super.regex-tdfa;
+  rebase = doJailbreak super.rebase_1_20;
+  rerebase = doJailbreak super.rerebase_1_20;
+  hiedb = dontCheck super.hiedb;
+  lucid = doJailbreak (dontCheck super.lucid);
+  retrie = dontCheck (super.retrie);
+
+  ghc-exactprint = unmarkBroken (addBuildDepends (with self.ghc-exactprint.scope; [
+   HUnit Diff data-default extra fail free ghc-paths ordered-containers silently syb
+  ]) super.ghc-exactprint_1_7_0_0);
+
+  inherit (pkgs.lib.mapAttrs (_: doJailbreak ) super)
+    hls-cabal-plugin
+    algebraic-graphs
+    co-log-core
+    lens
+    cryptohash-sha1
+    cryptohash-md5
+    ghc-trace-events
+    tasty-hspec
+    constraints-extras
+    tree-diff
+    implicit-hie-cradle
+    focus
+    hie-compat;
 }