Skip to content

Commit 5332bfb

Browse files
committed
Add HLS back and avoid project.index-state
1 parent 9924b01 commit 5332bfb

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

cabal.project

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ repository cardano-haskell-packages
1212

1313
-- See CONTRIBUTING for information about these, including some Nix commands
1414
-- you need to run if you change them
15-
16-
index-state: 2022-09-27T18:00:00Z
17-
1815
index-state:
1916
, hackage.haskell.org 2022-09-27T18:00:00Z
2017
, cardano-haskell-packages 2023-03-24T17:48:01Z

flake.lock

+3-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
flake = false;
2020
};
2121
haskellNix = {
22-
url = "github:input-output-hk/haskell.nix/1dcbcc7790d20a6d51347fcda313dcabe27b984c";
22+
url = "github:input-output-hk/haskell.nix";
2323
inputs.nixpkgs.follows = "nixpkgs";
2424
inputs.hackage.follows = "hackageNix";
2525
};

nix/pkgs.nix

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ final: prev: with final; {
2121
index-state = "2022-09-27T00:00:00Z";
2222
};
2323

24+
haskell-language-server = haskell-nix.tool compiler-nix-name "haskell-language-server" {
25+
version = "1.8.0.0";
26+
index-state = "2023-03-13T00:00:00Z";
27+
};
28+
2429
haskellBuildUtils = prev.haskellBuildUtils.override {
2530
inherit compiler-nix-name;
2631
index-state = "2022-09-27T00:00:00Z";

shell.nix

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ let
5959
packages = ps: builtins.attrValues (haskellLib.selectProjectPackages ps);
6060

6161
tools = {
62+
haskell-language-server = {
63+
version = "1.8.0.0";
64+
index-state = "2023-03-13T00:00:00Z";
65+
};
6266
};
6367

6468
# These programs will be available inside the nix-shell.

0 commit comments

Comments
 (0)