From f14a35cc1231ceb3d5af4377594696fae18f0520 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 26 Oct 2017 10:10:02 -0400 Subject: unify stack build and stack install For some reason, when stack install is run separately, it seems to be installing a previous build from a different temp dir. WTF? --- standalone/windows/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'standalone') diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index f9c53a7b2..895b74525 100755 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -58,7 +58,8 @@ getextra rsync.exe 85cb7a4d16d274fcf8069b39042965ad26abd6aa # Build git-annex stack setup --stack-yaml stack-windows.yaml -stack build -j 1 --stack-yaml stack-windows.yaml --no-haddock +stack install -j 1 --stack-yaml stack-windows.yaml --no-haddock \ + --local-bin-path . # Build the installer withcygpreferred stack ghc --stack-yaml stack-windows.yaml --no-haddock \ -- cgit v1.2.3