-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I'm trying to run a project based on the latest stackage lts (currently 18.9, GHC 8.10.7).
While the alpine bindist has been intended to be an “integer-simple” build for a while, the release notes for 8.10.6 include:
Many packaging related fixes, including versioned ghc-pkg executables (#20087), and actually distributing GHC versions linked against the integer-simple big integer backend (#18967, #19953) on both Windows and Alpine Linux. Previous releases were still linked against the GMP library due to a misconfiguration of the builders.
So effectively 8.10.6 is the first release for which the alpine build has used the integer-simple backend.
This effectively doesn’t work with stack, because lots of stackage packages are configured to assume “integer-gmp”.
(It's possible to work around this, by configuring and pinning an "integer-simple" version of each package in the extra-deps, but this is a lot of overhead, and kinda defeats the point of using package sets)
While it might be possible to build ghc from source, on alpine, with the integer-gmp backend. I've been struggling to do this myself (due to a combination of linker errors, and slow build times within Docker).