Skip to content

Commit d5b35db

Browse files
authored
Fix index-state syntax
The second index-state stanza completely ovverides the first, resetting hackage index state to HEAD. See haskell/cabal#8568
1 parent a3de411 commit d5b35db

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

cabal.project

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ repository cardano-haskell-packages
1212

1313
-- See CONTRIBUTING for some Nix commands you will need to run if you
1414
-- update either of these.
15-
-- Bump this if you need newer packages from Hackage
16-
index-state: 2022-12-01T00:00:00Z
17-
-- Bump this if you need newer packages from CHaP
18-
index-state: cardano-haskell-packages 2022-11-15T00:00:00Z
15+
-- repeat the index-state for hackage to work around haskell.nix parsing limitation
16+
index-state: hackage.haskell.org 2022-12-01T00:00:00Z
17+
index-state:
18+
-- Bump this if you need newer packages from Hackage
19+
, hackage.haskell.org 2022-12-01T00:00:00Z
20+
-- Bump this if you need newer packages from CHaP
21+
, cardano-haskell-packages 2022-11-15T00:00:00Z
1922

2023
packages: ./cardano-ping
2124
./ouroboros-network-testing

0 commit comments

Comments
 (0)