git.iko.soy/typeable/nixpkgs
on master help sign in
haskellPackages.haskell-language-server: Fixing build

by pinning apply-refact

commit952ebcf65f996a459141be786b349e7886b1b216 authorMalte Brandy <malte.brandy@maralorn.de> dateWed 20 Jan 2021, 17:13 (6 years ago) parentd07ff60
3 files changed+36
pkgs/development/haskell-modules/configuration-common.nix+4 pkgs/development/haskell-modules/configuration-hackage2nix.yaml+1 pkgs/development/haskell-modules/hackage-packages.nix+31
pkgs/development/haskell-modules/configuration-common.nix+4
@@ -1420,6 +1420,10 @@ self: super: {
14201420 lsp-test = dontCheck self.lsp-test_0_11_0_7;
14211421 fourmolu = self.fourmolu_0_3_0_0;
14221422 });
1423+ # 2021-01-20
1424+ # apply-refact 0.9.0.0 get's a build error with hls-hlint-plugin 0.8.0
1425+ # https://github.com/haskell/haskell-language-server/issues/1240
1426+ apply-refact = super.apply-refact_0_8_2_1;
14231427
14241428 fourmolu = dontCheck super.fourmolu;
14251429 # 1. test requires internet
pkgs/development/haskell-modules/configuration-hackage2nix.yaml+1
@@ -2700,6 +2700,7 @@ extra-packages:
27002700 - dependent-sum == 0.4 # required by Hasura 1.3.1, 2020-08-20
27012701 - network == 2.6.3.1 # required by pkgs/games/hedgewars/default.nix, 2020-11-15
27022702 - ghcide == 0.7.0.0 # Needed for hls 0.8.0
2703+ - apply-refact == 0.8.2.1 # Needed for hls 0.8.0
27032704
27042705package-maintainers:
27052706 peti:
pkgs/development/haskell-modules/hackage-packages.nix+31
@@ -31748,6 +31748,37 @@ self: {
3174831748 broken = true;
3174931749 }) {};
3175031750
31751+ "apply-refact_0_8_2_1" = callPackage
31752+ ({ mkDerivation, base, containers, directory, extra, filemanip
31753+ , filepath, ghc, ghc-boot-th, ghc-exactprint, optparse-applicative
31754+ , process, refact, silently, syb, tasty, tasty-expected-failure
31755+ , tasty-golden, transformers, unix-compat
31756+ }:
31757+ mkDerivation {
31758+ pname = "apply-refact";
31759+ version = "0.8.2.1";
31760+ sha256 = "12dnwsv37bhla7cnqa3h24mnvdk5199lwd5mf845n1r6xqrh2vvp";
31761+ isLibrary = true;
31762+ isExecutable = true;
31763+ libraryHaskellDepends = [
31764+ base containers directory extra filemanip ghc ghc-exactprint
31765+ process refact syb transformers unix-compat
31766+ ];
31767+ executableHaskellDepends = [
31768+ base containers directory extra filemanip filepath ghc ghc-boot-th
31769+ ghc-exactprint optparse-applicative process refact syb transformers
31770+ unix-compat
31771+ ];
31772+ testHaskellDepends = [
31773+ base containers directory extra filemanip filepath ghc ghc-boot-th
31774+ ghc-exactprint optparse-applicative process refact silently syb
31775+ tasty tasty-expected-failure tasty-golden transformers unix-compat
31776+ ];
31777+ description = "Perform refactorings specified by the refact library";
31778+ license = lib.licenses.bsd3;
31779+ hydraPlatforms = lib.platforms.none;
31780+ }) {};
31781+
3175131782 "apply-refact" = callPackage
3175231783 ({ mkDerivation, base, containers, directory, extra, filemanip
3175331784 , filepath, ghc, ghc-boot-th, ghc-exactprint, optparse-applicative