Skip to content

Commit

Permalink
haskellPackages.haskell-language-server: 0.1.0.0 -> 0.2.0.0
Browse files Browse the repository at this point in the history
generated by
pkgs/development/tools/haskell/haskell-language-server/update.sh

with some manual tweaks
  • Loading branch information
maralorn authored and peti committed Jul 24, 2020
1 parent 18121c6 commit 5e756f5
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 32 deletions.
14 changes: 9 additions & 5 deletions pkgs/development/haskell-modules/configuration-common.nix
Expand Up @@ -1358,15 +1358,18 @@ self: super: {
# haskell-language-server uses its own fork of ghcide
# Test disabled: it seems to freeze (is it just that it takes a long time ?)
hls-ghcide =
dontCheck (
dontCheck ((
overrideCabal super.hls-ghcide
(old: {
# The integration test run by lsp-test requires the executable to be in the PATH
preCheck = ''
export PATH=$PATH:dist/build/ghcide
'';
})
);
})).override {
# we are faster than stack here
hie-bios = dontCheck self.hie-bios_0_6_1;
lsp-test = dontCheck self.lsp-test_0_11_0_2;
});

haskell-language-server = (overrideCabal super.haskell-language-server
(old: {
Expand All @@ -1381,8 +1384,9 @@ self: super: {
})).override {
# use a fork of ghcide
ghcide = self.hls-ghcide;
# use specific version
ormolu = super.ormolu_0_0_5_0;
# we are faster than stack here
hie-bios = dontCheck self.hie-bios_0_6_1;
lsp-test = dontCheck self.lsp-test_0_11_0_2;
};

# https://github.com/kowainik/policeman/issues/57
Expand Down
28 changes: 14 additions & 14 deletions pkgs/development/tools/haskell/haskell-language-server/default.nix
@@ -1,28 +1,28 @@
{ mkDerivation, aeson, async, base, base16-bytestring, binary
, blaze-markup, brittany, bytestring, Cabal, cabal-helper
, containers, cryptohash-sha1, data-default, deepseq, Diff
, directory, extra, fetchgit, filepath, floskell, ghc, ghc-check
, ghc-paths, ghcide, gitrev, hashable, haskell-lsp
, haskell-lsp-types, hie-bios, hslogger, hspec, hspec-core
, hspec-expectations, lens, lsp-test, optparse-applicative
, optparse-simple, ormolu, process, regex-tdfa, safe-exceptions
, shake, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml
, tasty-expected-failure, tasty-golden, tasty-hunit, tasty-rerun
, text, time, transformers, unix, unordered-containers, yaml
, blaze-markup, brittany, bytestring, cabal-helper, containers
, cryptohash-sha1, data-default, deepseq, Diff, directory, extra
, fetchgit, filepath, floskell, ghc, ghc-check, ghc-paths, ghcide
, gitrev, hashable, haskell-lsp, haskell-lsp-types, hie-bios
, hslogger, hspec, hspec-core, hspec-expectations, lens, lsp-test
, optparse-applicative, optparse-simple, ormolu, process
, regex-tdfa, safe-exceptions, shake, stdenv, stm, stylish-haskell
, tasty, tasty-ant-xml, tasty-expected-failure, tasty-golden
, tasty-hunit, tasty-rerun, text, time, transformers, unix
, unordered-containers, yaml
}:
mkDerivation {
pname = "haskell-language-server";
version = "0.1.0.0";
version = "0.2.0.0";
src = fetchgit {
url = "https://github.com/haskell/haskell-language-server.git";
sha256 = "092i32kc9dakl6cg1dpckrb87g4k8s4w1nvrs5x85n9ncgkpqk25";
rev = "2a192db290bfe8640dafb6c1d650a0815e70d966";
sha256 = "0nkfyb0zg57jwr2gry0f3fycvqvb4rkayx42m841dgd4phyvrfrq";
rev = "35205ee3f95a8fbb4ef9a4ae4d9d82ac3d36d3f0";
fetchSubmodules = true;
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base binary brittany bytestring Cabal cabal-helper containers
aeson base binary brittany bytestring cabal-helper containers
data-default deepseq Diff directory extra filepath floskell ghc
ghcide gitrev hashable haskell-lsp hie-bios hslogger lens
optparse-simple ormolu process regex-tdfa shake stylish-haskell
Expand Down
Expand Up @@ -5,8 +5,8 @@
, ghc-boot-th, ghc-check, ghc-paths, ghc-typelits-knownnat, gitrev
, haddock-library, hashable, haskell-lsp, haskell-lsp-types
, hie-bios, hslogger, lens, lsp-test, mtl, network-uri
, opentelemetry, optparse-applicative, parser-combinators
, prettyprinter, prettyprinter-ansi-terminal, process, QuickCheck
, opentelemetry, optparse-applicative, prettyprinter
, prettyprinter-ansi-terminal, process, QuickCheck
, quickcheck-instances, regex-tdfa, rope-utf16-splay
, safe-exceptions, shake, sorted-list, stdenv, stm, syb, tasty
, tasty-expected-failure, tasty-hunit, tasty-quickcheck
Expand All @@ -18,8 +18,8 @@ mkDerivation {
version = "0.2.0";
src = fetchgit {
url = "https://github.com/wz1000/ghcide";
sha256 = "0rifbrfvbgv7szgwc5apzb0i5fbkr2spzqvwg5kzng5b4zrf9a9d";
rev = "cc09b6d4cf03efa645c682347c62850c2291be25";
sha256 = "12hqqi2qf0bnl8ap6bvc7nzz4d6817qf0kpkj7iimhbsn73fkqkv";
rev = "8530b980871f9bc4f6fc2e688a4620e5fe1a0340";
fetchSubmodules = true;
};
isLibrary = true;
Expand All @@ -36,21 +36,20 @@ mkDerivation {
aeson async base base16-bytestring binary bytestring containers
cryptohash-sha1 data-default deepseq directory extra filepath ghc
ghc-check ghc-paths gitrev hashable haskell-lsp haskell-lsp-types
hie-bios hslogger optparse-applicative safe-exceptions shake text
time unordered-containers
hie-bios hslogger lsp-test optparse-applicative process
safe-exceptions shake text time unordered-containers
];
testHaskellDepends = [
aeson base bytestring containers directory extra filepath ghc
ghc-typelits-knownnat haddock-library haskell-lsp haskell-lsp-types
lens lsp-test network-uri optparse-applicative parser-combinators
process QuickCheck quickcheck-instances rope-utf16-splay
safe-exceptions shake tasty tasty-expected-failure tasty-hunit
tasty-quickcheck tasty-rerun text
lens lsp-test network-uri optparse-applicative process QuickCheck
quickcheck-instances rope-utf16-splay safe-exceptions shake tasty
tasty-expected-failure tasty-hunit tasty-quickcheck tasty-rerun
text
];
benchmarkHaskellDepends = [
aeson base bytestring Chart Chart-diagrams containers diagrams
diagrams-svg directory extra filepath lsp-test optparse-applicative
parser-combinators process safe-exceptions shake text yaml
aeson base Chart Chart-diagrams diagrams diagrams-svg directory
extra filepath shake text yaml
];
homepage = "https://github.com/digital-asset/ghcide#readme";
description = "The core of an IDE";
Expand Down

0 comments on commit 5e756f5

Please sign in to comment.