Open
Description
I'm trying to build unix
with wasm32-wasi-cabal
using my new ghc-wasm-backend
Docker image, and I'm getting this error:
checking host system type... Invalid configuration `wasm32-wasi': system `wasi' not recognized
configure: error: /bin/bash //tmp/cabal-install.-10744/dist-newstyle/tmp/src-10745/unix-2.8.0.0/config.sub wasm32-wasi failed
Any idea what's wrong?
Repro:
docker pull brandonchinn178/ghc-wasm-backend:2b62739d7e6cc65f444029f252578f2dddb95ce3
docker run --rm -it --entrypoint bash brandonchinn178/ghc-wasm-backend:2b62739d7e6cc65f444029f252578f2dddb95ce3
wasm32-wasi-cabal update
wasm32-wasi-cabal install ormolu --allow-newer='template-haskell' --allow-newer=base --allow-newer=ghc-prim --allow-newer=unix
(or install some other library depending on unix)
Metadata
Assignees
Labels
No labels