Skip to content
Snippets Groups Projects
Commit fe29a08a authored by Javier Neira's avatar Javier Neira
Browse files

Fix gitlab ci script

parent d1b1c446
No related branches found
No related tags found
No related merge requests found
Pipeline #41231 failed
......@@ -89,6 +89,7 @@ build-aarch64-darwin:
--keep CI_PROJECT_DIR \
--keep MACOSX_DEPLOYMENT_TARGET \
--keep GHC_VERSION \
--keep LOCAL_CABAL_PROJECT \
--keep CABAL_INSTALL_VERSION \
--run "$1" 2>&1
}
......
......@@ -30,6 +30,10 @@ export BOOTSTRAP_HASKELL_ADJUST_CABAL_CONFIG=yes
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
if [[ -n "$CABAL_PROJECT" ]]; then
CABAL_PROJECT="cabal.project"
fi
if [[ -n "$LOCAL_CABAL_PROJECT" ]]; then
run cp "$LOCAL_CABAL_PROJECT" cabal.project.local
fi
......
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