Skip to content

Commit cbf7986

Browse files
committed
Warn about 00-index vs 01-index #3520
1 parent e236017 commit cbf7986

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/yaml_configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,13 @@ gpg-verify: false
401401

402402
Will now be ignored.
403403

404+
__IMPORTANT__ Hackage and its mirrors typically have two index files
405+
available: `00-index.tar.gz` and `01-index.tar.gz`. The former is a
406+
legacy file for backwards compatibility. It does not contain the cabal
407+
file revisions produced by Hackage, and therefore _will not work_ with
408+
most snapshots. Instead, you need to use `01-index.tar.gz` to ensure
409+
that exact revisions can be found, ensuring more reproducible builds.
410+
404411
### system-ghc
405412

406413
Enables or disables using the GHC available on the PATH.

0 commit comments

Comments
 (0)