Skip to content

Commit

Permalink
nix shells: revert hls to 1.8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgi committed Jan 4, 2023
1 parent d696663 commit 9101889
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 3 additions & 1 deletion nix/pkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ final: prev: with final; {
};

haskell-language-server = haskell-nix.tool compiler-nix-name "haskell-language-server" {
version = "latest";
# XXX waiting for https://github.com/haskell/haskell-language-server/issues/3427
# before switching back to latest:
version = "1.8.0.0";
inherit (cardanoNodeProject) index-state;
};

Expand Down
8 changes: 1 addition & 7 deletions nix/workbench/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,9 @@ in project.shellFor {
# (the default is *local* packages which includes them, we select *project* pacakges which doesn't)
packages = ps: builtins.attrValues (haskellLib.selectProjectPackages ps);

tools = {
haskell-language-server = {
version = "latest";
inherit (project) index-state;
};
};

# These programs will be available inside the nix-shell.
nativeBuildInputs = with pkgs; with haskellPackages; with cardanoNodePackages; [
haskell-language-server
cardano-ping
db-analyser
pkgs.graphviz
Expand Down

0 comments on commit 9101889

Please sign in to comment.