upgrade stack by downloading binary, not build from source

stack upgrade --git is failing on windows, the ghc version it downloaded to
upgrade itself does not work:

11:06:25      Configuring base-compat-0.9.3...
11:06:25      Cabal-simple_Z6RU0evB_2.0.1.0_ghc-8.2.2.exe: The program 'ghc-pkg' is required
11:06:25      but the version of
11:06:25      C:\Users\jenkins\AppData\Local\Programs\stack\i386-windows\ghc-8.2.2\bin\ghc-pkg.EXE
11:06:25      could not be determined.
This commit is contained in:
Joey Hess 2019-07-09 11:13:06 -04:00
parent 0a8be11c9e
commit 605b98bc3a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -60,7 +60,7 @@ getextra rsync.exe 85cb7a4d16d274fcf8069b39042965ad26abd6aa
# Upgrade stack
stack --version
stack upgrade --git
stack upgrade --force-download
stack --version
# Update version info for git rev being built.