diff options
author | Malte Brandy <malte.brandy@maralorn.de> | 2020-05-03 16:51:09 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2020-05-08 21:11:36 +0200 |
commit | 5266ceb263a42869793b48fdfc7dfc342c12fb9b (patch) | |
tree | fec82a45d03b7de0b44f221f5f77eaa837df7c48 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 5e242060a7cdfd1ee3a66341ff9dfb0dabce1e95 (diff) | |
download | nixpkgs-5266ceb263a42869793b48fdfc7dfc342c12fb9b.tar nixpkgs-5266ceb263a42869793b48fdfc7dfc342c12fb9b.tar.gz nixpkgs-5266ceb263a42869793b48fdfc7dfc342c12fb9b.tar.bz2 nixpkgs-5266ceb263a42869793b48fdfc7dfc342c12fb9b.tar.lz nixpkgs-5266ceb263a42869793b48fdfc7dfc342c12fb9b.tar.xz nixpkgs-5266ceb263a42869793b48fdfc7dfc342c12fb9b.tar.zst nixpkgs-5266ceb263a42869793b48fdfc7dfc342c12fb9b.zip |
haskellPackages.ghcide: Fix ghcide and hie-bios
This is the haskell-updates version of #86659
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4b5b304c4fa..9961e3b79e9 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1489,4 +1489,16 @@ self: super: { selective = self.selective_0_4_1; }; + # Needed for ghcide + haskell-lsp_0_19_0_0 = super.haskell-lsp_0_19_0_0.override { + haskell-lsp-types = self.haskell-lsp-types_0_19_0_0; + }; + + # this will probably need to get updated with every ghcide update, + # we need an override because ghcide is tracking haskell-lsp closely. + ghcide = dontCheck (super.ghcide.override rec { + haskell-lsp-types = self.haskell-lsp-types_0_19_0_0; + haskell-lsp = self.haskell-lsp_0_19_0_0; + }); + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super |