Fix NoAdjustCabalConfig on windows
This commit is contained in:
parent
ab36d4418e
commit
2c583bcae9
@ -525,7 +525,7 @@ ask_cabal_config_init() {
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
return 1
|
return 0
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -543,8 +543,8 @@ do_cabal_config_init() {
|
|||||||
adjust_cabal_config
|
adjust_cabal_config
|
||||||
;;
|
;;
|
||||||
0)
|
0)
|
||||||
echo "Make sure that your global cabal.config references the correct mingw64 paths (extra-prog-path, extra-include-dirs and extra-lib-dirs)."
|
warn "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 "And set the environment variable GHCUP_MSYS2 to the root path of your msys2 installation."
|
||||||
sleep 5
|
sleep 5
|
||||||
return ;;
|
return ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user