Invert curl flag to internal-downloader

This commit is contained in:
2020-04-28 17:56:39 +02:00
parent ee9b2ec30d
commit 56e4a6b15f
4 changed files with 16 additions and 17 deletions

View File

@@ -20,9 +20,9 @@ eghcup() {
ecabal update
if [ "${OS}" = "DARWIN" ] ; then
ecabal build -w ghc-${GHC_VERSION} -fcurl
else
ecabal build -w ghc-${GHC_VERSION}
else
ecabal build -w ghc-${GHC_VERSION} -finternal-downloader
fi
cp "$(ecabal new-exec --enable-tests --verbose=0 --offline sh -- -c 'command -v ghcup')" .