Fix refreeze

This commit is contained in:
Julian Ospald 2024-03-16 17:32:38 +08:00
parent 18abdbf2d9
commit 36fb39553d
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43

View File

@ -12,7 +12,7 @@ for ghc_ver in "$@" ; do
cp cabal.project "${project_file}"
case "$(uname -s)" in
MSYS*|MINGW*)
cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}"
cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}" -ftui
;;
*)
cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}" -ftui -finternal-downloader
@ -25,3 +25,4 @@ for ghc_ver in "$@" ; do
sed -i -e '/ghcup/d' "${project_file}".freeze
done