|
20 | 20 | packages = ps: with ps; [ pkga pkgb ]; |
21 | 21 | # This adds cabal-install to the shell, which helps tests because |
22 | 22 | # they use a nix-shell --pure. Normally you would BYO cabal-install. |
23 | | - tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; }; |
| 23 | + tools = { |
| 24 | + cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local; |
| 25 | + hoogle.index-state = "2024-10-26T00:00:00Z"; |
| 26 | + }; |
24 | 27 | exactDeps = true; |
25 | 28 | # Avoid duplicate package issues when runghc looks for packages |
26 | 29 | packageSetupDeps = false; |
|
31 | 34 | packages = ps: with ps; [ pkga ]; |
32 | 35 | # This adds cabal-install to the shell, which helps tests because |
33 | 36 | # they use a nix-shell --pure. Normally you would BYO cabal-install. |
34 | | - tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; }; |
| 37 | + tools = { |
| 38 | + cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local; |
| 39 | + hoogle.index-state = "2024-10-26T00:00:00Z"; |
| 40 | + }; |
35 | 41 | exactDeps = true; |
36 | 42 | # Avoid duplicate package issues when runghc looks for packages |
37 | 43 | packageSetupDeps = false; |
|
43 | 49 | # packages = ps: with ps; [ pkga pkgb ]; |
44 | 50 | # This adds cabal-install to the shell, which helps tests because |
45 | 51 | # they use a nix-shell --pure. Normally you would BYO cabal-install. |
46 | | - tools = { cabal = { cabalProjectLocal = builtins.readFile ../cabal.project.local; }; }; |
| 52 | + tools = { |
| 53 | + cabal.cabalProjectLocal = builtins.readFile ../cabal.project.local; |
| 54 | + hoogle.index-state = "2024-10-26T00:00:00Z"; |
| 55 | + }; |
47 | 56 | # Avoid duplicate package issues when runghc looks for packages |
48 | 57 | packageSetupDeps = false; |
49 | 58 | }; |
|
0 commit comments