From 605b98bc3af55f9e0827b6283855a3835531a205 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 9 Jul 2019 11:13:06 -0400 Subject: [PATCH] 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. --- standalone/windows/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index 8988cdda92..6d95857b00 100755 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -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.