File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 4747
4848case " $( uname) " in
4949 MSYS_* |MINGW* )
50+ # workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/21196
51+ export PATH=" ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin:${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/usr/bin:$PATH "
52+ ls ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin
53+ cp ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin/libgcc_s_seh-1.dll ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /bin
54+ cp ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin/libwinpthread-1.dll ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /bin
55+ ghc --info
5056 # Shorten binary names
5157 sed -i.bak -e ' s/haskell-language-server/hls/g' \
5258 -e ' s/haskell_language_server/hls/g' \
Original file line number Diff line number Diff line change @@ -45,6 +45,18 @@ case "$(uname -s)" in
4545 ;;
4646esac
4747
48+ case " $( uname) " in
49+ MSYS_* |MINGW* )
50+ # workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/21196
51+ export PATH=" ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin:${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/usr/bin:$PATH "
52+ ls ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin
53+ cp ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin/libgcc_s_seh-1.dll ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /bin
54+ cp ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /mingw/bin/libwinpthread-1.dll ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/ghc/${GHC_VERSION} /bin
55+ ghc --info
56+ ;;
57+ * ) ;;
58+ esac
59+
4860# make sure out/ dir is gone, so build host rpaths don't
4961# kick in (TODO: we should probably remove those)
5062mv " $CI_PROJECT_DIR /out" /* .tar.xz .
You can’t perform that action at this time.
0 commit comments