I'm attempting to update Arch Linux packaging ... the major caveat being we're stuck using an old (9.4.8) version of ghc
for now...
Building the latest tagged release now produces this error:
Utility/OpenFd.hs:28:9: error:
Variable not in scope: when :: Bool -> IO () -> IO a0
|
28 | when closeonexec $
| ^^^^
I'm not sure this error is directly caused by the antiquated compiler, but also not sure how to debug this further or work around it either.
git-annex is still targeting supporting ghc back to 9.0.2, so your old ghc should not yet be a problem. However, I don't have any CI left that uses such old versions of ghc, so it might break from time to time.
I've fixed this one, which was a missing
import Control.Monad
. Please report if you find other build failures.