haskellPackages.haskell-language-server: Fix build by pinning dependencies

This commit is contained in:
Malte Brandy 2022-01-08 23:43:59 +01:00
parent 44dc8255ad
commit 85fb55626b
3 changed files with 92 additions and 3 deletions

View file

@ -2043,11 +2043,11 @@ self: super: {
# 2021-09-13: hls 1.3 needs a newer lsp than stackage-lts. (lsp >= 1.2.0.1)
# (hls is nearly the only consumer, but consists of 18 packages, so we bump lsp globally.)
lsp = doDistribute self.lsp_1_4_0_0;
lsp-types = doDistribute self.lsp-types_1_4_0_0;
lsp = doDistribute self.lsp_1_2_0_1;
lsp-types = doDistribute self.lsp-types_1_3_0_1;
# Not running the "example" test because it requires a binary from lsps test
# suite which is not part of the output of lsp.
lsp-test = doDistribute (overrideCabal (old: { testTarget = "tests func-test"; }) self.lsp-test_0_14_0_2);
lsp-test = doDistribute (overrideCabal (old: { testTarget = "tests func-test"; }) self.lsp-test_0_14_0_1);
# 2021-09-14: Tests are flaky.
hls-splice-plugin = dontCheck super.hls-splice-plugin;

View file

@ -165,6 +165,10 @@ extra-packages:
- brick == 0.64.* # 2021-12-03: matterhorn depends on brick < 0.65
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
- ormolu == 0.3.* # 2021-12-03: for HLS with GHC 9.0.2
# 2022-01-08 hls-plugin-api 1.2.0.2 needs lsp < 1.3, but newer than stackage
- lsp < 1.3
- lsp-types < 1.4
- lsp-test < 0.14.0.2
package-maintainers:
abbradar:

View file

@ -175684,6 +175684,39 @@ self: {
license = lib.licenses.mit;
}) {};
"lsp_1_2_0_1" = callPackage
({ mkDerivation, aeson, async, attoparsec, base, bytestring
, containers, data-default, dependent-map, exceptions, filepath
, hashable, hslogger, hspec, hspec-discover, lens, lsp-types, mtl
, network-uri, QuickCheck, quickcheck-instances, random
, rope-utf16-splay, scientific, sorted-list, stm, text, time
, transformers, unliftio-core, unordered-containers, uuid
}:
mkDerivation {
pname = "lsp";
version = "1.2.0.1";
sha256 = "1bdgbxakdyhkrddj58f0al2wrx1mckp6hia7hk2wqjix20my8v49";
revision = "1";
editedCabalFile = "193y4b3l6agm83ng2c0ngvd0j9a71q237g9i5v57p502lhzfaag2";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson async attoparsec base bytestring containers data-default
dependent-map exceptions hashable hslogger lens lsp-types mtl
network-uri random scientific sorted-list stm text time
transformers unliftio-core unordered-containers uuid
];
testHaskellDepends = [
aeson base containers filepath hspec lens network-uri QuickCheck
quickcheck-instances rope-utf16-splay sorted-list text
unordered-containers
];
testToolDepends = [ hspec-discover ];
description = "Haskell library for the Microsoft Language Server Protocol";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
}) {};
"lsp_1_4_0_0" = callPackage
({ mkDerivation, aeson, async, attoparsec, base, bytestring
, containers, data-default, exceptions, filepath, hashable
@ -175742,6 +175775,34 @@ self: {
license = lib.licenses.bsd3;
}) {};
"lsp-test_0_14_0_1" = callPackage
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
, bytestring, conduit, conduit-parse, containers, data-default
, Diff, directory, 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.0.1";
sha256 = "0fr1812dnzv9hljb77khspaz666wqr6m1gj963v0z2j6xgvw2ipy";
libraryHaskellDepends = [
aeson aeson-pretty ansi-terminal async base bytestring conduit
conduit-parse containers data-default Diff directory filepath Glob
lens lsp-types mtl parser-combinators process some text time
transformers unix unordered-containers
];
testHaskellDepends = [
aeson async base 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;
hydraPlatforms = lib.platforms.none;
}) {};
"lsp-test_0_14_0_2" = callPackage
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
, bytestring, conduit, conduit-parse, containers, data-default
@ -175793,6 +175854,30 @@ self: {
license = lib.licenses.mit;
}) {};
"lsp-types_1_3_0_1" = callPackage
({ mkDerivation, aeson, base, binary, bytestring, containers
, data-default, deepseq, dependent-sum, dependent-sum-template
, Diff, directory, dlist, filepath, hashable, hslogger, lens, mtl
, network-uri, rope-utf16-splay, scientific, some, template-haskell
, temporary, text, unordered-containers
}:
mkDerivation {
pname = "lsp-types";
version = "1.3.0.1";
sha256 = "05zgd99y7xnxnydisq5x24n1af2isar172p247hb5q0mp12hdd3z";
revision = "1";
editedCabalFile = "031b69fxi8m4fcwwgqb7cf4k806ikkmjqnn3wv6bn3sny1hn5gg7";
libraryHaskellDepends = [
aeson base binary bytestring containers data-default deepseq
dependent-sum dependent-sum-template Diff directory dlist filepath
hashable hslogger lens mtl network-uri rope-utf16-splay scientific
some template-haskell temporary text unordered-containers
];
description = "Haskell library for the Microsoft Language Server Protocol, data types";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
}) {};
"lsp-types_1_4_0_0" = callPackage
({ mkDerivation, aeson, base, binary, bytestring, containers
, data-default, deepseq, Diff, directory, dlist, filepath, hashable