Skip to content
Snippets Groups Projects
Verified Commit 0bcbc6a3 authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Fix gitlab CI

parent c85b6122
No related branches found
No related tags found
No related merge requests found
Pipeline #44638 failed
...@@ -11,10 +11,12 @@ export CABAL_DIR="$CI_PROJECT_DIR/cabal" ...@@ -11,10 +11,12 @@ export CABAL_DIR="$CI_PROJECT_DIR/cabal"
case "$(uname)" in case "$(uname)" in
MSYS_*|MINGW*) MSYS_*|MINGW*)
export CABAL_DIR="$(cygpath -w "$CABAL_DIR")" export CABAL_DIR="$(cygpath -w "$CABAL_DIR")"
GHCUP_BINDIR="${GHCUP_INSTALL_BASE_PREFIX}/ghcup/bin" GHCUP_DIR="${GHCUP_INSTALL_BASE_PREFIX}/ghcup"
GHCUP_BINDIR="${GHCUP_DIR}/bin"
;; ;;
*) *)
GHCUP_BINDIR="${GHCUP_INSTALL_BASE_PREFIX}/.ghcup/bin" GHCUP_DIR="${GHCUP_INSTALL_BASE_PREFIX}/.ghcup"
GHCUP_BINDIR="${GHCUP_DIR}/bin"
;; ;;
esac esac
...@@ -29,6 +31,7 @@ export BOOTSTRAP_HASKELL_VERBOSE=1 ...@@ -29,6 +31,7 @@ export BOOTSTRAP_HASKELL_VERBOSE=1
export BOOTSTRAP_HASKELL_ADJUST_CABAL_CONFIG=yes export BOOTSTRAP_HASKELL_ADJUST_CABAL_CONFIG=yes
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
source "${GHCUP_DIR}"/env
# some alpines need workaround # some alpines need workaround
if ghc --info | grep -q integer-simple ; then if ghc --info | grep -q integer-simple ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment