koka: build with lsp 2.4.0.0 (latest is not supported)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
, FloatingHex
|
||||
, isocline
|
||||
, lens
|
||||
, lsp
|
||||
, lsp_2_4_0_0
|
||||
, mtl
|
||||
, network
|
||||
, network-simple
|
||||
@@ -78,7 +78,7 @@ mkDerivation rec {
|
||||
FloatingHex
|
||||
isocline
|
||||
lens
|
||||
lsp
|
||||
lsp_2_4_0_0
|
||||
mtl
|
||||
network
|
||||
network-simple
|
||||
|
||||
@@ -1557,6 +1557,11 @@ self: super: {
|
||||
# 2021-12-26: Too strict bounds on doctest
|
||||
polysemy-plugin = doJailbreak super.polysemy-plugin;
|
||||
|
||||
# Needs matching lsp-types
|
||||
lsp_2_4_0_0 = super.lsp_2_4_0_0.override {
|
||||
lsp-types = self.lsp-types_2_1_1_0;
|
||||
};
|
||||
|
||||
# 2024-02-28: The Hackage version dhall-lsp-server-1.1.3 requires
|
||||
# lsp-1.4.0.0 which is hard to build with this LTS. However, the latest
|
||||
# git version of dhall-lsp-server works with lsp-2.1.0.0, and only
|
||||
|
||||
@@ -92,6 +92,8 @@ extra-packages:
|
||||
- lens-aeson < 1.2 # 2022-12-17: For aeson < 2.0 compat
|
||||
- lsp == 2.1.0.0 # 2024-02-28: need for dhall-lsp-server unstable
|
||||
- lsp-types == 2.0.2.0 # 2024-02-28: need for dhall-lsp-server unstable
|
||||
- lsp < 2.5 # 2024-07-08: need for koka
|
||||
- lsp-types < 2.2 # 2024-07-08: need for koka
|
||||
- mmorph == 1.1.3 # Newest working version of mmorph on ghc 8.6.5. needed for hls
|
||||
- network == 2.6.3.1 # required by pkgs/games/hedgewars/default.nix, 2020-11-15
|
||||
- optparse-applicative < 0.16 # needed for niv-0.2.19
|
||||
|
||||
@@ -197105,6 +197105,36 @@ self: {
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"lsp_2_4_0_0" = callPackage
|
||||
({ mkDerivation, aeson, async, attoparsec, base, bytestring
|
||||
, co-log-core, containers, data-default, directory, exceptions
|
||||
, filepath, hashable, hspec, hspec-discover, lens, lens-aeson
|
||||
, lsp-types, mtl, prettyprinter, random, row-types, sorted-list
|
||||
, stm, text, text-rope, transformers, unliftio-core
|
||||
, unordered-containers, uuid
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "lsp";
|
||||
version = "2.4.0.0";
|
||||
sha256 = "1ggfw2wp9g9fpg9x3kj9zh6l6p2yiw4q0v1gzxjg0mcmvp4aad8w";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson async attoparsec base bytestring co-log-core containers
|
||||
data-default directory exceptions filepath hashable lens lens-aeson
|
||||
lsp-types mtl prettyprinter random row-types sorted-list stm text
|
||||
text-rope transformers unliftio-core unordered-containers uuid
|
||||
];
|
||||
testHaskellDepends = [
|
||||
base containers hspec row-types sorted-list text text-rope
|
||||
unordered-containers
|
||||
];
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "Haskell library for the Microsoft Language Server Protocol";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"lsp" = callPackage
|
||||
({ mkDerivation, aeson, async, attoparsec, base, bytestring
|
||||
, co-log-core, containers, data-default, directory, exceptions
|
||||
@@ -197224,6 +197254,43 @@ self: {
|
||||
mainProgram = "generator";
|
||||
}) {};
|
||||
|
||||
"lsp-types_2_1_1_0" = callPackage
|
||||
({ mkDerivation, aeson, base, binary, containers, data-default
|
||||
, deepseq, Diff, directory, dlist, exceptions, file-embed, filepath
|
||||
, generic-arbitrary, hashable, hspec, hspec-discover
|
||||
, indexed-traversable, indexed-traversable-instances, lens
|
||||
, lens-aeson, mod, mtl, network-uri, prettyprinter, QuickCheck
|
||||
, quickcheck-instances, regex, row-types, safe, some
|
||||
, template-haskell, text
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "lsp-types";
|
||||
version = "2.1.1.0";
|
||||
sha256 = "0gsr0v11xfav7dnq4d433y9ca0snmqaax4pp5sgmf33zl8qhi6s0";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson base binary containers data-default deepseq Diff dlist
|
||||
exceptions file-embed filepath generic-arbitrary hashable
|
||||
indexed-traversable indexed-traversable-instances lens lens-aeson
|
||||
mod mtl network-uri prettyprinter QuickCheck quickcheck-instances
|
||||
row-types safe some template-haskell text
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
base containers directory filepath mtl prettyprinter regex text
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson base filepath hspec lens network-uri QuickCheck
|
||||
quickcheck-instances row-types text
|
||||
];
|
||||
testToolDepends = [ hspec-discover ];
|
||||
doHaddock = false;
|
||||
description = "Haskell library for the Microsoft Language Server Protocol, data types";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
mainProgram = "generator";
|
||||
}) {};
|
||||
|
||||
"lsp-types" = callPackage
|
||||
({ mkDerivation, aeson, base, binary, containers, data-default
|
||||
, deepseq, Diff, directory, dlist, exceptions, file-embed, filepath
|
||||
|
||||
Reference in New Issue
Block a user