Fix NoAdjustCabalConfig on windows

This commit is contained in:
Julian Ospald 2022-02-21 16:39:25 +01:00
parent ab36d4418e
commit 2c583bcae9
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
1 changed files with 3 additions and 3 deletions

View File

@ -525,7 +525,7 @@ ask_cabal_config_init() {
esac
done
else
return 1
return 0
fi
;;
esac
@ -543,8 +543,8 @@ do_cabal_config_init() {
adjust_cabal_config
;;
0)
echo "Make sure that your global cabal.config references the correct mingw64 paths (extra-prog-path, extra-include-dirs and extra-lib-dirs)."
echo "And set the environment variable GHCUP_MSYS2 to the root path of your msys2 installation."
warn "Make sure that your global cabal.config references the correct mingw64 paths (extra-prog-path, extra-include-dirs and extra-lib-dirs)."
warn "And set the environment variable GHCUP_MSYS2 to the root path of your msys2 installation."
sleep 5
return ;;
*) ;;