Skip to content

Commit

Permalink
Also fix shell-for test
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 31, 2024
1 parent 829c386 commit dffd9b5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions test/shell-for/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ let
packages = ps: with ps; [ pkga pkgb ];
# This adds cabal-install to the shell, which helps tests because
# they use a nix-shell --pure. Normally you would BYO cabal-install.
tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; };
tools = {
cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local;
hoogle.index-state = "2024-10-01T00:00:00Z";
};
exactDeps = true;
# Avoid duplicate package issues when runghc looks for packages
packageSetupDeps = false;
Expand All @@ -31,7 +34,10 @@ let
packages = ps: with ps; [ pkga ];
# This adds cabal-install to the shell, which helps tests because
# they use a nix-shell --pure. Normally you would BYO cabal-install.
tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; };
tools = {
cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local;
hoogle.index-state = "2024-10-01T00:00:00Z";
};
exactDeps = true;
# Avoid duplicate package issues when runghc looks for packages
packageSetupDeps = false;
Expand All @@ -43,7 +49,10 @@ let
# packages = ps: with ps; [ pkga pkgb ];
# This adds cabal-install to the shell, which helps tests because
# they use a nix-shell --pure. Normally you would BYO cabal-install.
tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; };
tools = {
cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local;
hoogle.index-state = "2024-10-01T00:00:00Z";
};
# Avoid duplicate package issues when runghc looks for packages
packageSetupDeps = false;
};
Expand Down

0 comments on commit dffd9b5

Please sign in to comment.