File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,12 @@ export CABAL_DIR="$CI_PROJECT_DIR/cabal"
11
11
case " $( uname) " in
12
12
MSYS_* |MINGW* )
13
13
export CABAL_DIR=" $( cygpath -w " $CABAL_DIR " ) "
14
- GHCUP_BINDIR=" ${GHCUP_INSTALL_BASE_PREFIX} /ghcup/bin"
14
+ GHCUP_DIR=" ${GHCUP_INSTALL_BASE_PREFIX} /ghcup"
15
+ GHCUP_BINDIR=" ${GHCUP_DIR} /bin"
15
16
;;
16
17
* )
17
- GHCUP_BINDIR=" ${GHCUP_INSTALL_BASE_PREFIX} /.ghcup/bin"
18
+ GHCUP_DIR=" ${GHCUP_INSTALL_BASE_PREFIX} /.ghcup"
19
+ GHCUP_BINDIR=" ${GHCUP_DIR} /bin"
18
20
;;
19
21
esac
20
22
@@ -29,6 +31,7 @@ export BOOTSTRAP_HASKELL_VERBOSE=1
29
31
export BOOTSTRAP_HASKELL_ADJUST_CABAL_CONFIG=yes
30
32
31
33
curl --proto ' =https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
34
+ source " ${GHCUP_DIR} " /env
32
35
33
36
# some alpines need workaround
34
37
if ghc --info | grep -q integer-simple ; then
You can’t perform that action at this time.
0 commit comments