Skip to content

Commit 262677a

Browse files
committed
fix index-state and version of tools to avoid rebuilds and compile errors
1 parent 4ed079e commit 262677a

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Diff for: nix/pkgs.nix

+6-9
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,26 @@ final: prev: with final; {
99
cardanoNodeProject.hsPkgs))
1010
(name: lib.attrNames cardanoNodeProject.pkg-set.options.packages.value.${name}.components.exes);
1111

12-
cabal = haskell-nix.tool compiler-nix-name "cabal" {
13-
version = "latest";
14-
inherit (cardanoNodeProject) index-state;
15-
};
12+
cabal = haskell-nix.cabal-install.${compiler-nix-name};
1613

1714
hlint = haskell-nix.tool compiler-nix-name "hlint" {
1815
version = "3.2.7";
19-
inherit (cardanoNodeProject) index-state;
16+
index-state = "2022-09-27T00:00:00Z";
2017
};
2118

2219
ghcid = haskell-nix.tool compiler-nix-name "ghcid" {
2320
version = "0.8.7";
24-
inherit (cardanoNodeProject) index-state;
21+
index-state = "2022-09-27T00:00:00Z";
2522
};
2623

2724
haskell-language-server = haskell-nix.tool compiler-nix-name "haskell-language-server" {
28-
version = "latest";
29-
inherit (cardanoNodeProject) index-state;
25+
version = "1.8.0.0";
26+
index-state = "2022-09-27T00:00:00Z";
3027
};
3128

3229
haskellBuildUtils = prev.haskellBuildUtils.override {
3330
inherit compiler-nix-name;
34-
inherit (cardanoNodeProject) index-state;
31+
index-state = "2022-09-27T00:00:00Z";
3532
};
3633

3734
cardanolib-py = callPackage ./cardanolib-py { };

0 commit comments

Comments
 (0)