hackagePackages.haskell-language-server: Fix build

This commit is contained in:
Malte Brandy 2021-02-19 16:17:32 +01:00 committed by Peter Simons
parent 020ed23391
commit f3cb2534d6
2 changed files with 8 additions and 1 deletions

View File

@ -1408,7 +1408,12 @@ self: super: {
# 2020-11-19: Checks nearly fixed, but still disabled because of flaky tests:
# https://github.com/haskell/haskell-language-server/issues/610
# https://github.com/haskell/haskell-language-server/issues/611
haskell-language-server = dontCheck super.haskell-language-server;
haskell-language-server = overrideCabal (dontCheck super.haskell-language-server) {
# 2020-02-19: Override is necessary because of wrong bound on upstream, remove after next hackage update
preConfigure = ''
substituteInPlace haskell-language-server.cabal --replace "hls-explicit-imports-plugin ==0.1.0.1" "hls-explicit-imports-plugin ==0.1.0.0"
'';
};
# 2021-02-08: Jailbreaking because of
# https://github.com/haskell/haskell-language-server/issues/1329

View File

@ -75,6 +75,8 @@ default-package-overrides:
- gi-gdkx11 < 4
- ghcide < 0.7.4 # for hls 0.9.0
- hls-explicit-imports-plugin < 0.1.0.1 # for hls 0.9.0
- hls-plugin-api < 0.7.1.0 # for hls 0.9.0
- hls-retrie-plugin < 0.1.1.1 # for hls 0.9.0
# Stackage Nightly 2021-02-12
- abstract-deque ==0.3