haskellPackages.lsp: restrict to 1.6.*
HLS doesn't support lsp >= 2.0 yet.
This commit is contained in:
parent
3fc46c5938
commit
3718dfbcda
|
@ -53,6 +53,11 @@ default-package-overrides:
|
|||
- dhall-nixpkgs == 1.0.9
|
||||
- dhall-nix == 1.1.25
|
||||
|
||||
# 2023-06-24: HLS at large can't deal with lsp-2.0.0.0 yet
|
||||
- lsp == 1.6.*
|
||||
- lsp-types == 1.6.*
|
||||
- lsp-test == 0.14.*
|
||||
|
||||
extra-packages:
|
||||
- Cabal == 2.2.* # required for jailbreak-cabal etc.
|
||||
- Cabal == 2.4.* # required for cabal-install etc.
|
||||
|
|
|
@ -187680,6 +187680,35 @@ self: {
|
|||
}) {};
|
||||
|
||||
"lsp" = callPackage
|
||||
({ mkDerivation, aeson, async, attoparsec, base, bytestring
|
||||
, co-log-core, containers, data-default, directory, exceptions
|
||||
, filepath, hashable, hspec, hspec-discover, lens, lsp-types, mtl
|
||||
, prettyprinter, random, sorted-list, stm, temporary, text
|
||||
, text-rope, transformers, unliftio-core, unordered-containers
|
||||
, uuid
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "lsp";
|
||||
version = "1.6.0.0";
|
||||
sha256 = "0w04n299d8yh545jggh93wm6nxpp5jwz8hr7qynbxslcdrv06s49";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson async attoparsec base bytestring co-log-core containers
|
||||
data-default directory exceptions filepath hashable lens lsp-types
|
||||
mtl prettyprinter random sorted-list stm temporary text text-rope
|
||||
transformers unliftio-core unordered-containers uuid
|
||||
];
|
||||
testHaskellDepends = [
|
||||
base containers hspec sorted-list text text-rope
|
||||
unordered-containers
|
||||
];
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "Haskell library for the Microsoft Language Server Protocol";
|
||||
license = lib.licenses.mit;
|
||||
}) {};
|
||||
|
||||
"lsp_2_0_0_0" = callPackage
|
||||
({ mkDerivation, aeson, async, attoparsec, base, bytestring
|
||||
, co-log-core, containers, data-default, directory, exceptions
|
||||
, filepath, hashable, hspec, hspec-discover, lens, lsp-types, mtl
|
||||
|
@ -187706,9 +187735,39 @@ self: {
|
|||
testToolDepends = [ hspec-discover ];
|
||||
description = "Haskell library for the Microsoft Language Server Protocol";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"lsp-test" = callPackage
|
||||
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
|
||||
, bytestring, co-log-core, conduit, conduit-parse, containers
|
||||
, data-default, Diff, directory, exceptions, extra, filepath, Glob
|
||||
, hspec, lens, lsp, lsp-types, mtl, parser-combinators, process
|
||||
, some, text, time, transformers, unix, unliftio
|
||||
, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "lsp-test";
|
||||
version = "0.14.1.0";
|
||||
sha256 = "0db4mpzn05k3isk1a3rdpqr7if9j0kr3bxdri9739q9a8azf4fp1";
|
||||
libraryHaskellDepends = [
|
||||
aeson aeson-pretty ansi-terminal async base bytestring co-log-core
|
||||
conduit conduit-parse containers data-default Diff directory
|
||||
exceptions filepath Glob lens lsp lsp-types mtl parser-combinators
|
||||
process some text time transformers unix unordered-containers
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson base co-log-core data-default directory filepath hspec lens
|
||||
lsp mtl parser-combinators process text unliftio
|
||||
unordered-containers
|
||||
];
|
||||
testToolDepends = [ lsp ];
|
||||
benchmarkHaskellDepends = [ base extra lsp process ];
|
||||
description = "Functional test framework for LSP servers";
|
||||
license = lib.licenses.bsd3;
|
||||
}) {};
|
||||
|
||||
"lsp-test_0_15_0_0" = callPackage
|
||||
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
|
||||
, bytestring, co-log-core, conduit, conduit-parse, containers
|
||||
, data-default, Diff, directory, exceptions, extra, filepath, Glob
|
||||
|
@ -187733,6 +187792,7 @@ self: {
|
|||
benchmarkHaskellDepends = [ base extra lsp process ];
|
||||
description = "Functional test framework for LSP servers";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"lsp-types_1_4_0_1" = callPackage
|
||||
|
@ -187760,6 +187820,31 @@ self: {
|
|||
}) {};
|
||||
|
||||
"lsp-types" = callPackage
|
||||
({ mkDerivation, aeson, base, binary, containers, data-default
|
||||
, deepseq, Diff, dlist, exceptions, filepath, hashable, hspec
|
||||
, hspec-discover, lens, mod, mtl, network-uri, QuickCheck
|
||||
, quickcheck-instances, safe, scientific, some, template-haskell
|
||||
, text, tuple, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "lsp-types";
|
||||
version = "1.6.0.0";
|
||||
sha256 = "00lqq5lw7pi8qrnjlibsvhldp747kdc9zkr6rg3bbkbz7kxw8p9q";
|
||||
libraryHaskellDepends = [
|
||||
aeson base binary containers data-default deepseq Diff dlist
|
||||
exceptions filepath hashable lens mod mtl network-uri safe
|
||||
scientific some template-haskell text unordered-containers
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson base filepath hspec lens network-uri QuickCheck
|
||||
quickcheck-instances text tuple
|
||||
];
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "Haskell library for the Microsoft Language Server Protocol, data types";
|
||||
license = lib.licenses.mit;
|
||||
}) {};
|
||||
|
||||
"lsp-types_2_0_0_1" = callPackage
|
||||
({ mkDerivation, aeson, base, binary, containers, data-default
|
||||
, deepseq, Diff, directory, dlist, exceptions, file-embed, filepath
|
||||
, hashable, hspec, hspec-discover, lens, mod, mtl, network-uri
|
||||
|
@ -187788,6 +187873,7 @@ self: {
|
|||
doHaddock = false;
|
||||
description = "Haskell library for the Microsoft Language Server Protocol, data types";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
mainProgram = "generator";
|
||||
}) {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue