about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2024-01-15 13:19:02 +0100
committerNaïm Favier <n@monade.li>2024-01-15 13:19:02 +0100
commitb3f76d0ef6cf89c005a64881060216b1a5c7ea77 (patch)
tree09f65c8c934a93c59753632bbcff2fc7eb5d300c /pkgs/development/haskell-modules
parent0db3a34bfdda2d229363b565d7960e35b90f2678 (diff)
downloadnixlib-b3f76d0ef6cf89c005a64881060216b1a5c7ea77.tar
nixlib-b3f76d0ef6cf89c005a64881060216b1a5c7ea77.tar.gz
nixlib-b3f76d0ef6cf89c005a64881060216b1a5c7ea77.tar.bz2
nixlib-b3f76d0ef6cf89c005a64881060216b1a5c7ea77.tar.lz
nixlib-b3f76d0ef6cf89c005a64881060216b1a5c7ea77.tar.xz
nixlib-b3f76d0ef6cf89c005a64881060216b1a5c7ea77.tar.zst
nixlib-b3f76d0ef6cf89c005a64881060216b1a5c7ea77.zip
haskell-language-server: fix build with hiedb 0.5
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 223506ab8655..0f9aa9e929b8 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -117,11 +117,19 @@ self: super: {
   hls-test-utils = doJailbreak super.hls-test-utils;
   hls-alternate-number-format-plugin = doJailbreak super.hls-alternate-number-format-plugin;
   hls-cabal-plugin = doJailbreak super.hls-cabal-plugin;
-  hls-call-hierarchy-plugin = doJailbreak super.hls-call-hierarchy-plugin;
   hls-explicit-fixity-plugin = doJailbreak super.hls-explicit-fixity-plugin;
   hls-floskell-plugin = doJailbreak super.hls-floskell-plugin;
   hls-gadt-plugin = doJailbreak super.hls-gadt-plugin;
 
+  hls-call-hierarchy-plugin = appendPatch (pkgs.fetchpatch {
+    url = "https://github.com/haskell/haskell-language-server/pull/3943.patch";
+    relative = "plugins/hls-call-hierarchy-plugin";
+    hash = "sha256-TOIn4/AGQr8o3r6gI6/vQsdWw/UGyO/599X0pCTYJjE=";
+  }) (doJailbreak super.hls-call-hierarchy-plugin);
+
+  # 2024-01-15: allow hiedb 0.5 https://github.com/haskell/haskell-language-server/pull/3943
+  ghcide = doJailbreak super.ghcide;
+
   ###########################################
   ### END HASKELL-LANGUAGE-SERVER SECTION ###
   ###########################################