Skip to content

Commit

Permalink
Merge pull request #86765 from maralorn/haskell-updates-fix-ghcide
Browse files Browse the repository at this point in the history
[haskell-updates]: Fix ghcide
  • Loading branch information
cdepillabout committed May 4, 2020
2 parents 2747f1a + 4bdb1cd commit f67b561
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1488,4 +1488,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
Original file line number Diff line number Diff line change
Expand Up @@ -2390,6 +2390,8 @@ extra-packages:
- happy <1.19.6 # newer versions break Agda
- happy == 1.19.9 # for purescript
- haskell-gi-overloading == 0.0 # gi-* packages use this dependency to disable overloading support
- haskell-lsp == 0.19.* # required for ghcide 0.1.0
- haskell-lsp-types == 0.19.* # required for ghcide 0.1.0
- haskell-src-exts == 1.19.* # required by hindent and structured-haskell-mode
- hinotify == 0.3.9 # for xmonad-0.26: https://github.com/kolmodin/hinotify/issues/29
- hoogle == 5.0.14 # required by hie-hoogle
Expand Down Expand Up @@ -5039,7 +5041,6 @@ broken-packages:
- ghci-lib
- ghci-ng
- ghci-pretty
- ghcide
- ghcjs-dom-jsffi
- ghcjs-fetch
- ghcjs-hplay
Expand Down Expand Up @@ -5835,7 +5836,6 @@ broken-packages:
- hichi
- hid-examples
- hidden-char
- hie-bios
- hie-core
- hieraclus
- hierarchical-exceptions
Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/haskell-modules/configuration-nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -727,4 +727,7 @@ self: super: builtins.intersectAttrs super {
--prefix PATH : "${path}"
'';
});

# Tests access homeless-shelter.
hie-bios = dontCheck super.hie-bios;
}

0 comments on commit f67b561

Please sign in to comment.