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 47
47
48
48
case " $( uname) " in
49
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
50
56
# Shorten binary names
51
57
sed -i.bak -e ' s/haskell-language-server/hls/g' \
52
58
-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
45
45
;;
46
46
esac
47
47
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
+
48
60
# make sure out/ dir is gone, so build host rpaths don't
49
61
# kick in (TODO: we should probably remove those)
50
62
mv " $CI_PROJECT_DIR /out" /* .tar.xz .
You can’t perform that action at this time.
0 commit comments