about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2021-02-11 16:40:58 +0100
committerPeter Simons <simons@cryp.to>2021-02-12 20:35:21 +0100
commit9b8baeb8de04243dad3429b76369903e092f0675 (patch)
treea3daf33e5a0edd904758b914ccfd63d8bb2d7b18 /pkgs/development/haskell-modules
parent5fd1c13b7f80386db26a1c53e68365136e68a51c (diff)
downloadnixlib-9b8baeb8de04243dad3429b76369903e092f0675.tar
nixlib-9b8baeb8de04243dad3429b76369903e092f0675.tar.gz
nixlib-9b8baeb8de04243dad3429b76369903e092f0675.tar.bz2
nixlib-9b8baeb8de04243dad3429b76369903e092f0675.tar.lz
nixlib-9b8baeb8de04243dad3429b76369903e092f0675.tar.xz
nixlib-9b8baeb8de04243dad3429b76369903e092f0675.tar.zst
nixlib-9b8baeb8de04243dad3429b76369903e092f0675.zip
haskellPackages.haskell-language-server: Pin dependencies
While the dependencies are being released for hls 0.10.0 they break
compatibility with hls 0.9.0 and therefor all need manual intervention
when they get released until hls 0.10.0 get’s released.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix2
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix.yaml2
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix83
3 files changed, 87 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 3d00a3efcf8e..f03f4a6dcc0d 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1413,6 +1413,8 @@ self: super: {
   # 2021-02-08: Jailbreaking because of
   # https://github.com/haskell/haskell-language-server/issues/1329
   hls-tactics-plugin = doJailbreak super.hls-tactics-plugin;
+  # 2021-02-11: Jailbreaking because of syntax error on bound revision
+  hls-explicit-imports-plugin = doJailbreak super.hls-explicit-imports-plugin;
 
   # 2021-02-08: Overrides because nightly is to old for hls 0.9.0
   lsp-test = doDistribute (dontCheck self.lsp-test_0_11_0_7);
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index 629c3fcd0bfa..6188aa689649 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -73,6 +73,8 @@ default-package-overrides:
   # gi-gdkx11-4.x requires gtk-4.x, which is still under development and
   # not yet available in Nixpkgs
   - gi-gdkx11 < 4
+  - ghcide < 0.7.4 # for hls 0.9.0
+  - hls-explicit-imports-plugin < 0.1.0.1 # for hls 0.9.0
 
   # Stackage Nightly 2021-02-10
   - abstract-deque ==0.3
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index 3d7cc25d836b..6928bba47fa0 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -101764,6 +101764,69 @@ self: {
 
   "ghcide" = callPackage
     ({ mkDerivation, aeson, array, async, base, base16-bytestring
+     , binary, bytestring, case-insensitive, containers, cryptohash-sha1
+     , data-default, deepseq, directory, dlist, extra, filepath
+     , fingertree, fuzzy, ghc, ghc-boot, ghc-boot-th, ghc-check
+     , ghc-exactprint, ghc-paths, ghc-typelits-knownnat, gitrev, Glob
+     , haddock-library, hashable, haskell-lsp, haskell-lsp-types
+     , heapsize, hie-bios, hie-compat, hls-plugin-api, hp2pretty
+     , hslogger, implicit-hie-cradle, lens, lsp-test, mtl, network-uri
+     , opentelemetry, optparse-applicative, parallel, prettyprinter
+     , prettyprinter-ansi-terminal, process, QuickCheck
+     , quickcheck-instances, record-dot-preprocessor, record-hasfield
+     , regex-tdfa, retrie, rope-utf16-splay, safe, safe-exceptions
+     , shake, shake-bench, sorted-list, stm, syb, tasty
+     , tasty-expected-failure, tasty-hunit, tasty-quickcheck
+     , tasty-rerun, text, time, transformers, unix, unordered-containers
+     , utf8-string, vector, yaml
+     }:
+     mkDerivation {
+       pname = "ghcide";
+       version = "0.7.3.0";
+       sha256 = "0iak2bwkp0x66cl9axcxq00vmf4yn6y0h8ih4wq6mnavmplbyi3b";
+       isLibrary = true;
+       isExecutable = true;
+       libraryHaskellDepends = [
+         aeson array async base base16-bytestring binary bytestring
+         case-insensitive containers cryptohash-sha1 data-default deepseq
+         directory dlist extra filepath fingertree fuzzy ghc ghc-boot
+         ghc-boot-th ghc-check ghc-exactprint ghc-paths Glob haddock-library
+         hashable haskell-lsp haskell-lsp-types heapsize hie-bios hie-compat
+         hls-plugin-api hslogger implicit-hie-cradle lens mtl network-uri
+         opentelemetry parallel prettyprinter prettyprinter-ansi-terminal
+         regex-tdfa retrie rope-utf16-splay safe safe-exceptions shake
+         sorted-list stm syb text time transformers unix
+         unordered-containers utf8-string vector
+       ];
+       executableHaskellDepends = [
+         aeson base bytestring containers data-default directory extra
+         filepath gitrev hashable haskell-lsp haskell-lsp-types heapsize
+         hie-bios hls-plugin-api lens lsp-test optparse-applicative process
+         safe-exceptions shake text unordered-containers
+       ];
+       testHaskellDepends = [
+         aeson base binary bytestring containers data-default directory
+         extra filepath ghc ghc-typelits-knownnat haddock-library
+         haskell-lsp haskell-lsp-types hls-plugin-api lens lsp-test
+         network-uri optparse-applicative process QuickCheck
+         quickcheck-instances record-dot-preprocessor record-hasfield
+         rope-utf16-splay safe safe-exceptions shake tasty
+         tasty-expected-failure tasty-hunit tasty-quickcheck tasty-rerun
+         text
+       ];
+       benchmarkHaskellDepends = [
+         aeson base directory filepath shake shake-bench text yaml
+       ];
+       benchmarkToolDepends = [ hp2pretty ];
+       description = "The core of an IDE";
+       license = lib.licenses.asl20;
+       hydraPlatforms = lib.platforms.none;
+       maintainers = with lib.maintainers; [ maralorn ];
+       broken = true;
+     }) {shake-bench = null;};
+
+  "ghcide_0_7_4_0" = callPackage
+    ({ mkDerivation, aeson, array, async, base, base16-bytestring
      , binary, bytestring, bytestring-encoding, case-insensitive
      , containers, cryptohash-sha1, data-default, deepseq, Diff
      , directory, dlist, extra, filepath, fingertree, fuzzy, ghc
@@ -129406,6 +129469,25 @@ self: {
      }:
      mkDerivation {
        pname = "hls-explicit-imports-plugin";
+       version = "0.1.0.0";
+       sha256 = "0il51ndiw16h5kgclwzx8p1pwv6ph808406bh52nq1bjyadlwkk2";
+       revision = "1";
+       editedCabalFile = "1mmsgs0n0x0q8zdzc617pi24wadgjr7hxrwqw6ihv004ahzdmjms";
+       libraryHaskellDepends = [
+         aeson base containers deepseq ghc ghcide haskell-lsp-types
+         hls-plugin-api shake text unordered-containers
+       ];
+       description = "Explicit imports plugin for Haskell Language Server";
+       license = lib.licenses.asl20;
+     }) {};
+
+  "hls-explicit-imports-plugin_0_1_0_1" = callPackage
+    ({ mkDerivation, aeson, base, containers, deepseq, ghc, ghcide
+     , haskell-lsp-types, hls-plugin-api, shake, text
+     , unordered-containers
+     }:
+     mkDerivation {
+       pname = "hls-explicit-imports-plugin";
        version = "0.1.0.1";
        sha256 = "0n36yk21wh9wklp8bnrg4b6qck2nf34m8p3fpilwpnzfchk6wr1y";
        libraryHaskellDepends = [
@@ -129414,6 +129496,7 @@ self: {
        ];
        description = "Explicit imports plugin for Haskell Language Server";
        license = lib.licenses.asl20;
+       hydraPlatforms = lib.platforms.none;
      }) {};
 
   "hls-haddock-comments-plugin" = callPackage