Here we go:
bin
and mingw/bin
subdirectories to pathcabal.exe
into bin
directory specified aboveunix-compat
0.4.1.1cbits/HsUname.c
and cbits/mktemp.c
and unix-compat.cabal
runhaskell Setup configure --user --prefix=$env:APPDATA\cabal-custom
runhaskell Setup build
runhaskell Setup install
Oh, and it still doesn’t work. I’m thwarted by the following:ghc.exe: Unknown PEi386 section name `.text.unlikely' (while processing: C:\Users\rcook\AppData\Roaming\cabal\x86_64-windows-ghc-7.8.2\yaml-0.8.8.2\HSyaml-0.8.8.2.o)
Turns out that GHC 7.8.2 is busted (see here, here and here). I’ll let you know if I figure anything out.
Content © 2025 Richard Cook. All rights reserved.