Open ju1m opened 4 months ago
Use ghc-paths in c2hs executable to support cross-compiling where ghc's executable name is prefixed, for eg. x86_64-unknown-linux-musl-ghc.
ghc-paths
c2hs
ghc
x86_64-unknown-linux-musl-ghc
Otherwise this error is raised:
c2hs: does not exist (file: `Uncaught fatal error: ghc: readCreateProcessWithExitCode: posix_spawnp: does not exist (No such file or directory)
Use
ghc-paths
inc2hs
executable to support cross-compiling whereghc
's executable name is prefixed, for eg.x86_64-unknown-linux-musl-ghc
.Otherwise this error is raised: