stackage-server/stack.yaml
Jens Petersen f4f40bfcfa build with Cabal-3.12 to try to unbreak the cron job
stackage-server-cron: Unable to parse cabal file from package webdriver-precore-0.2.0.1@sha256:2c644f12cb915bd6491da97af448bb74270cdcee8260f4a39f11c7594b6153c4,7407 (from Hackage)
- 0:0: Unsupported cabal-version 3.12. See https://github.com/haskell/cabal/issues/4899.  <= error from Cabal
The cabal file uses the cabal specification version 3.12, but we only support up to version 3.8.
Recommended action: upgrade your build tool (e.g., `stack upgrade`).

The last two lines are from pantry
2026-01-23 15:24:08 +08:00

42 lines
1.7 KiB
YAML

# As this is built on NixOS stable, it has to stay on a GHC that exists on the
# OS.
# I.e. changes here need to be synced with changes to
# https://github.com/haskellfoundation/hf-infrastructure
resolver: lts-22.43
extra-deps:
# WARNING: Changing the hoogle version causes stackage-server-cron to regenerate
# Hoogle databases FOR EVERY SNAPSHOT, EVER. Usually, that's ok! But don't
# forget! The consequences are: (1) More disk usage. Hoogle databases are not
# cleaned up on the stackage-server-cron side, nor on the stackage-server side.
# (Yet. This will change.) (2) More bucket usage. While it's easy to say it's a
# drop in the literal bucket, such excessive misuse of storage makes
# administration, backups, disaster recovery, and many other DevOps concerns
# harder and harder. All but the latest LTS's database are literally never used
# anyway. (3) The Hoogle database schema is defined by the first three
# version components. Any more frequent regeneration is pure unadulterated
# waste. (4) Stackage's Hoogle search will be unavailable until the new
# databases have been generated.
- hoogle-5.0.18.4@sha256:1372458e97dff541fcda099236af7936bf93ee6b8c5d15695ee6d9426dff5eed,3171
- git: https://github.com/commercialhaskell/pantry.git
commit: 5df643cc1deb561d9c52a9cb6f593aba2bc4c08e
# This amazonka includes the unreleased patch to support Cloudflare, which kinda
# has a bug. See https://github.com/brendanhay/amazonka/issues/975 for details.
- github: brendanhay/amazonka
commit: '85e0289f8dc23c54b00f7f1a09845be7e032a1eb'
subdirs: [lib/amazonka-core]
- Cabal-3.12.1.0
- Cabal-syntax-3.12.1.0
allow-newer: true
allow-newer-deps:
- pantry
- postgresql-libpq
- hackage-security
nix:
shell-file: shell.nix
flags:
postgresql-libpq:
use-pkg-config: true