Skip to content

Commit

Permalink
Fix index-state syntax (#27)
Browse files Browse the repository at this point in the history
* Fix index-state syntax

The second index-state stanza completely ovverides the first, resetting hackage index state to HEAD. See haskell/cabal#8568

* Update cabal.project
  • Loading branch information
andreabedini authored Feb 3, 2023
1 parent 7b10c27 commit 7589a03
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
packages: ./.

-- Bump this if you need newer packages from Hackage
index-state: 2022-10-24T00:00:00Z

-- Cardano Haskell Package Repository (CHaP)
-- cf https://input-output-hk.github.io/cardano-haskell-packages
repository cardano-haskell-packages
Expand All @@ -16,8 +13,13 @@ repository cardano-haskell-packages
c00aae8461a256275598500ea0e187588c35a5d5d7454fb57eac18d9edb86a56
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee

-- Bump this if you need newer packages from CHaP
index-state: cardano-haskell-packages 2022-11-01T00:00:00Z
-- repeat hackage index-state to work around haskell.nix parsing limitation
index-state: 2022-10-24T00:00:00Z
index-state:
-- Bump this if you need newer packages from Hackage
, hackage.haskell.org 2022-10-24T00:00:00Z
-- Bump this if you need newer packages from CHaP
, cardano-haskell-packages 2022-11-01T00:00:00Z

-- Plutarch
--
Expand Down

0 comments on commit 7589a03

Please sign in to comment.