Accessing a MinGW/MSYS2 shell from Setup.hs

26 Mar
2022
26 Mar
'22
3:54 a.m.
Hi everyone, I am writing a custom Setup.hs to do an Autotools build for a bundled library. This is easy everywhere with `process` _except_ Windows, because I can't get a shell with the Autotools in them, despite there definitely being one. `process` gives me a cmd.exe shell, which wouldn't know about the Autotools, and on Windows, _any_ GHC installation has to have certain POSIX stuff available, which is why it bundles MinGW. Is the shell I get from that accessible from Setup.hs, via `process` or otherwise? Cheers, Hécate -- Hécate ✨ 🐦: @TechnoEmpress IRC: Hecate WWW:https://glitchbra.in RUN: BSD
1151
Age (days ago)
1151
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hécate