File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-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/msys64/mingw64/bin:${GHCUP_INSTALL_BASE_PREFIX} /ghcup/msys64/mingw64/usr/bin:$PATH "
50
52
# Shorten binary names
51
53
sed -i.bak -e ' s/haskell-language-server/hls/g' \
52
54
-e ' s/haskell_language_server/hls/g' \
Original file line number Diff line number Diff line change @@ -45,6 +45,14 @@ 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/msys64/mingw64/bin:${GHCUP_INSTALL_BASE_PREFIX} /ghcup/msys64/mingw64/usr/bin:$PATH "
52
+ ;;
53
+ * ) ;;
54
+ esac
55
+
48
56
# make sure out/ dir is gone, so build host rpaths don't
49
57
# kick in (TODO: we should probably remove those)
50
58
mv " $CI_PROJECT_DIR /out" /* .tar.xz .
You can’t perform that action at this time.
0 commit comments