Skip to content

Move Echidna build to GHC 9.12 - #1652

Draft
elopez wants to merge 10 commits into
masterfrom
ghc-912
Draft

elopez wants to merge 10 commits into
masterfrom
ghc-912

Conversation

@elopez

@elopez elopez commented Nov 16, 2026

Copy link
Copy Markdown
Member

No description provided.

Update hevm to 2cd4b061 and share flake-utils across inputs. Adapt
cabal2nix and optics tests to the new package set and replace the
deprecated Darwin platform check.
Expose Tasty and the other test dependencies despite skipping tests in
package builds. Keep the pinned solc ahead of Slither's solc-select
wrapper on PATH.
Use the LTS 24.38 snapshot from the pinned nixpkgs and lock the extra
dependencies. Remove pins now supplied by the snapshot and relax the
aeson-optics base bound, as nixpkgs does.

Align CI and Docker with GHC 9.12.4 and Stack 3.11.1. Enforce the
compiler version and invalidate the existing CI caches.
Use the MSYS2 installation path from the setup action and fail early
when the GHC mingw toolchain cannot be found. Bundle zlib for static
Windows builds and invoke test artifacts through a quoted loop.
Use secp256k1 0.8.0, Z3 5.3.3, Bitwuzla 0.9.1, and Foundry 1.9.0
across CI and Docker. Keep libff at the matching 0.2.1 release and
source its Windows patch from the pinned hevm revision.

Install the pinned official Z3 Windows release, including its DLLs,
instead of relying on the rolling Chocolatey package.
Pin vty-windows 0.2.0.4 and regenerate the Stack lockfile.
This release uses Win32's console input API, avoiding record
field clashes with the Win32 2.14.2.1 bundled with GHC 9.12.4.

Validated the static Stack build plan with GHC 9.12.4 on macOS. The
Windows build still needs a CI rerun.
The vcr concurrency test requires 100 requests to finish within 100 ms
and can time out on macOS CI before hpack or cabal2nix builds.

Skip only that test on Darwin, leaving the other 30 enabled. Define
the override beside optics and reuse it in the cabal2nix scope with
the tool's original dependencies to avoid the TLS evaluation cycle.
Run tzdata checks at the release timestamp, as in nixpkgs #582577.
This fixes the date-dependent now.ck failure in Linux release builds.
Limit the override to musl to preserve cached toolchains elsewhere.
Apply the test fix from nixpkgs #569508 to musl builds. Its fixed
SIGSTKSZ can be smaller than the kernel requires, causing the
explicit_bzero test to abort before checking memory erasure.

Keep all 28 libbsd tests enabled and preserve other platform caches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant