Merge pull request #214173 from ncfavier/hls

haskell-language-server: fix
This commit is contained in:
maralorn
2023-02-03 14:55:29 +01:00
committed by GitHub
3 changed files with 38 additions and 2 deletions
@@ -1385,7 +1385,7 @@ self: super: {
hls-hlint-plugin = super.hls-hlint-plugin.override {
# For "ghc-lib" flag see https://github.com/haskell/haskell-language-server/issues/3185#issuecomment-1250264515
hlint = enableCabalFlag "ghc-lib" super.hlint;
apply-refact = self.apply-refact_0_12_0_0;
apply-refact = self.apply-refact_0_11_0_0;
};
# For -f-auto see cabal.project in haskell-language-server.
@@ -96,6 +96,7 @@ extra-packages:
- Diff < 0.4 # required by liquidhaskell-0.8.10.2: https://github.com/ucsd-progsys/liquidhaskell/issues/1729
- aeson < 2 # required by pantry-0.5.2
- apply-refact == 0.9.* # 2022-12-12: needed for GHC < 9.2
- apply-refact == 0.11.* # 2023-02-02: needed for hls-hlint-plugin on GHC 9.2
- attoparsec == 0.13.* # 2022-02-23: Needed to compile elm for now
- base16-bytestring < 1 # required for cabal-install etc.
- basement < 0.0.15 # 2022-08-30: last version to support GHC < 8.10
+36 -1
View File
@@ -33567,6 +33567,41 @@ self: {
mainProgram = "refactor";
}) {};
"apply-refact_0_11_0_0" = callPackage
({ mkDerivation, base, containers, directory, extra, filemanip
, filepath, ghc, ghc-boot-th, ghc-exactprint, ghc-paths
, optparse-applicative, process, refact, silently, syb, tasty
, tasty-expected-failure, tasty-golden, transformers, uniplate
, unix-compat
}:
mkDerivation {
pname = "apply-refact";
version = "0.11.0.0";
sha256 = "1bmm9s8h5grqp1c8m1x9icbhznfc565za8w3sqfpiylid7c7fz72";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base containers directory extra filemanip ghc ghc-boot-th
ghc-exactprint ghc-paths process refact syb transformers uniplate
unix-compat
];
executableHaskellDepends = [
base containers directory extra filemanip filepath ghc ghc-boot-th
ghc-exactprint ghc-paths optparse-applicative process refact syb
transformers uniplate unix-compat
];
testHaskellDepends = [
base containers directory extra filemanip filepath ghc ghc-boot-th
ghc-exactprint ghc-paths optparse-applicative process refact
silently syb tasty tasty-expected-failure tasty-golden transformers
uniplate unix-compat
];
description = "Perform refactorings specified by the refact library";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
mainProgram = "refactor";
}) {};
"apply-refact_0_12_0_0" = callPackage
({ mkDerivation, base, containers, directory, extra, filemanip
, filepath, ghc, ghc-boot-th, ghc-exactprint, ghc-paths
@@ -283203,7 +283238,7 @@ self: {
license = lib.licenses.asl20;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {libtensorflow = null;};
}) {inherit (pkgs) libtensorflow;};
"tensorflow-core-ops" = callPackage
({ mkDerivation, base, bytestring, Cabal, directory, filepath