HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulehorizon-config-shell-0.12.0GHC2024

Horizon.Config.Index

The package indices a run reads at a set's index state, and the check that each has reached it. Hackage's index is append-only and stamps every entry with its publication time, so a copy holds everything published until a state when it holds an entry published after it, or was brought up to date at or after it. One that does neither may not, and the set it renders would depend on when the machine last ran cabal update.

Synopsis

The directory holding the Hackage index cabal2nix reads: hackage-db's own choice (CABAL_DIR, else ~/.cabal, else the XDG cache), so the index checked is the index read.

When the copy of an index kept in a directory was last brought up to date: cabal update rewrites the repository's timestamp.json whenever the index moves, so its modification time, else the index file's.