Skip to content

Commit 829c386

Browse files
committed
Pin index-state used to build hoogle in tests
See #2277
1 parent 8bf6f84 commit 829c386

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/cabal-simple/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ in recurseIntoAttrs {
3333
test-shell = (project.shellFor {
3434
tools = {
3535
cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; };
36-
hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; };
36+
hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; index-state = "2024-10-01T00:00:00Z"; };
3737
};
3838
withHoogle = true;
3939
}).overrideAttrs (_: _: {

test/shell-for-setup-deps/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let
1010
};
1111

1212
env = project.shellFor {
13-
tools.hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; };
13+
tools.hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; index-state = "2024-10-01T00:00:00Z"; };
1414
withHoogle = true;
1515
};
1616

0 commit comments

Comments
 (0)