EDIT: Advised URL now updated to reflect Stack 2.15.5 and avoid redirection.
EDIT2: Stack users are recommended to upgrade to Stack 2.15.5. (For people using GHCup to manage versions of Stack, an update to GHCup’s metadata is in hand.)
Users of Stack 2.15.3 or earlier should update their config.yaml
file to set the configuration option:
urls:
latest-snapshot: https://stackage-haddock.haskell.org/snapshots.json
Following the handover of the Stackage project to the Haskell Foundation the file at Stack’s default URL is no longer up to date.
stack init
uses this file to decide which snapshots to try when creating a stack.yaml
file. stack new
uses stack init
by default.
EDIT: Stack 2.15.5 and later have an updated default.