Skip to content

Commit

Permalink
Pin index-state used to build hoogle in tests
Browse files Browse the repository at this point in the history
See #2277
  • Loading branch information
hamishmack committed Oct 31, 2024
1 parent 8bf6f84 commit 829c386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/cabal-simple/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ in recurseIntoAttrs {
test-shell = (project.shellFor {
tools = {
cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; };
hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; };
hoogle = { cabalProjectLocal = builtins.readFile ../cabal.project.local; index-state = "2024-10-01T00:00:00Z"; };
};
withHoogle = true;
}).overrideAttrs (_: _: {
Expand Down
2 changes: 1 addition & 1 deletion test/shell-for-setup-deps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let
};

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

Expand Down

0 comments on commit 829c386

Please sign in to comment.