Skip to content

Commit 778f632

Browse files
committed
Apply the patch to unix-compat from ghc-wasm-meta upstream
1 parent cdc7160 commit 778f632

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ RUN --mount=type=cache,target=/var/cache/apt \
3636
git config --global advice.detachedHead false && \
3737
git clone --depth=1 --branch "$AGDA_BRANCH" https://github.com/agda/agda.git /root/agda && \
3838
cd agda && \
39-
git apply /root/agda-wasm.patch
39+
git apply /root/agda-wasm.patch && \
40+
echo "-- see: https://gitlab.haskell.org/haskell-wasm/ghc-wasm-meta/-/blob/92ff0eb8541eb0a6097922e3532c3fd44d2f7db4/tests/agda.sh" && \
41+
echo "package unix-compat" >> cabal.project.local && \
42+
echo " ghc-options: -optc-Wno-error=implicit-function-declaration" >> cabal.project.local
4043

4144
# ------------------------------------------------------------------------------
4245

0 commit comments

Comments
 (0)