From 461e220abe82716bae213e71480dfc6283cde9e4 Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Tue, 9 Mar 2021 11:04:48 +1300 Subject: [PATCH] Remove workarounds for HLS hackage issues These constraints have all been added to HLS 0.9.0.0 hackage and having them here also breaks HLS 1.0.0.0 --- overlays/hackage-quirks.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/overlays/hackage-quirks.nix b/overlays/hackage-quirks.nix index 1c195dc00f..3ac2212e2c 100644 --- a/overlays/hackage-quirks.nix +++ b/overlays/hackage-quirks.nix @@ -69,10 +69,11 @@ in { haskell-nix = prev.haskell-nix // { }; haskell-language-server = { + # This is still needed for HLS 0.9.0.0 because ghcide 0.7.3 has no upper + # bound for haddock-library. cabalProject = '' packages: . - allow-newer: haskell-language-server:ghcide - constraints: ghcide <0.7.4, hls-plugin-api <0.7.1.0, hls-retrie-plugin <0.1.1.1, haddock-library <1.10 + constraints: haddock-library <1.10 ''; };