diff options
author | maralorn <mail@maralorn.de> | 2023-08-22 01:50:52 +0200 |
---|---|---|
committer | maralorn <mail@maralorn.de> | 2023-08-22 01:50:52 +0200 |
commit | 7dfb3949da392b142081e23a6a2c0cd5e57fdce6 (patch) | |
tree | cc06d50bf833ff56d8134ab3fae2e87352a5f1d5 /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | |
parent | 044214a6ee26dfecbb8e75279f5310d9a951c3a9 (diff) | |
download | nixlib-7dfb3949da392b142081e23a6a2c0cd5e57fdce6.tar nixlib-7dfb3949da392b142081e23a6a2c0cd5e57fdce6.tar.gz nixlib-7dfb3949da392b142081e23a6a2c0cd5e57fdce6.tar.bz2 nixlib-7dfb3949da392b142081e23a6a2c0cd5e57fdce6.tar.lz nixlib-7dfb3949da392b142081e23a6a2c0cd5e57fdce6.tar.xz nixlib-7dfb3949da392b142081e23a6a2c0cd5e57fdce6.tar.zst nixlib-7dfb3949da392b142081e23a6a2c0cd5e57fdce6.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.nix | 25 |
1 files changed, 11 insertions, 14 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 49e6902ff4df..d0efc39ae8f5 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -75,6 +75,10 @@ self: super: { base-compat = doDistribute self.base-compat_0_13_0; base-compat-batteries = doDistribute self.base-compat-batteries_0_13_0; + # Because we bumped the version of th-abstraction above.^ + aeson = doJailbreak super.aeson; + free = doJailbreak super.free; + # Too strict upper bound on template-haskell # https://github.com/mokus0/th-extras/pull/21 th-extras = doJailbreak super.th-extras; @@ -164,23 +168,14 @@ self: super: { # 2023-04-03: plugins disabled for hls 1.10.0.0 based on # - haskell-language-server = - let - # TODO: HLS-2.0.0.0 added support for the foumolu plugin for ghc-9.6. - # However, putting together all the overrides to get the latest - # version of fourmolu compiling together with ghc-9.6 and HLS is a - # little annoying, so currently fourmolu has been disabled. We should - # try to enable this at some point in the future. - hlsWithFlags = disableCabalFlag "fourmolu" super.haskell-language-server; - in - hlsWithFlags.override { - hls-ormolu-plugin = null; + haskell-language-server = super.haskell-language-server.override { hls-floskell-plugin = null; - hls-fourmolu-plugin = null; - hls-hlint-plugin = null; - hls-stylish-haskell-plugin = null; }; + fourmolu = super.fourmolu_0_13_1_0; + ormolu = super.ormolu_0_7_1_0; + stylish-haskell = super.stylish-haskell_0_14_5_0; + # Newer version of servant required for GHC 9.6 servant = self.servant_0_20; servant-server = self.servant-server_0_20; @@ -216,6 +211,8 @@ self: super: { HUnit Diff data-default extra fail free ghc-paths ordered-containers silently syb ]) super.ghc-exactprint_1_7_0_1); + hlint = super.hlint_3_6_1; + inherit (pkgs.lib.mapAttrs (_: doJailbreak ) super) hls-cabal-plugin algebraic-graphs |