summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-10-26 10:10:02 -0400
committerJoey Hess <joeyh@joeyh.name>2017-10-26 10:10:02 -0400
commit50c0fb7336ef56dd790387179835bca074a59605 (patch)
treedd0a8617eba7ed6a7db09ed98bb61a6fe5996102 /standalone
parentc6fcbaf5b5ee4a7a6a1b7a65bbc4140d6f15dabd (diff)
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?
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/windows/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index f9c53a7b21..895b745259 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 \