haskellPackages.haskell-language-server: Fixing build

by pinning apply-refact
This commit is contained in:
Malte Brandy 2021-01-20 17:13:24 +01:00 committed by Peter Simons
parent d07ff60c02
commit 952ebcf65f
3 changed files with 36 additions and 0 deletions

View file

@ -1420,6 +1420,10 @@ self: super: {
lsp-test = dontCheck self.lsp-test_0_11_0_7;
fourmolu = self.fourmolu_0_3_0_0;
});
# 2021-01-20
# apply-refact 0.9.0.0 get's a build error with hls-hlint-plugin 0.8.0
# https://github.com/haskell/haskell-language-server/issues/1240
apply-refact = super.apply-refact_0_8_2_1;
fourmolu = dontCheck super.fourmolu;
# 1. test requires internet

View file

@ -2700,6 +2700,7 @@ extra-packages:
- dependent-sum == 0.4 # required by Hasura 1.3.1, 2020-08-20
- network == 2.6.3.1 # required by pkgs/games/hedgewars/default.nix, 2020-11-15
- ghcide == 0.7.0.0 # Needed for hls 0.8.0
- apply-refact == 0.8.2.1 # Needed for hls 0.8.0
package-maintainers:
peti:

View file

@ -31748,6 +31748,37 @@ self: {
broken = true;
}) {};
"apply-refact_0_8_2_1" = callPackage
({ mkDerivation, base, containers, directory, extra, filemanip
, filepath, ghc, ghc-boot-th, ghc-exactprint, optparse-applicative
, process, refact, silently, syb, tasty, tasty-expected-failure
, tasty-golden, transformers, unix-compat
}:
mkDerivation {
pname = "apply-refact";
version = "0.8.2.1";
sha256 = "12dnwsv37bhla7cnqa3h24mnvdk5199lwd5mf845n1r6xqrh2vvp";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base containers directory extra filemanip ghc ghc-exactprint
process refact syb transformers unix-compat
];
executableHaskellDepends = [
base containers directory extra filemanip filepath ghc ghc-boot-th
ghc-exactprint optparse-applicative process refact syb transformers
unix-compat
];
testHaskellDepends = [
base containers directory extra filemanip filepath ghc ghc-boot-th
ghc-exactprint optparse-applicative process refact silently syb
tasty tasty-expected-failure tasty-golden transformers unix-compat
];
description = "Perform refactorings specified by the refact library";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"apply-refact" = callPackage
({ mkDerivation, base, containers, directory, extra, filemanip
, filepath, ghc, ghc-boot-th, ghc-exactprint, optparse-applicative