summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-10-25 14:49:35 -0400
committerJoey Hess <joeyh@joeyh.name>2017-10-25 14:49:35 -0400
commit357a6e67096668251acaee78c42a0d954cea4d09 (patch)
treec660fcd5b9052968f2c6be545b687a7841b31c2d /standalone
parent833b3f06cd107653569ff116c264b555c46e7d77 (diff)
work around stack-work directory path bug
fatal: Invalid path '/cygdrive/c/jenkins/workspace/git-annex-master/git-annex/.stack-work/downloaded/C:\jenkins\workspace\git-annex-master\git-annex\.stack-work\downloaded\56E6vnUQljVi': No such file or directory
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/windows/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index 5240e6be3a..397cc86c39 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -60,7 +60,7 @@ getextra rsync.exe 85cb7a4d16d274fcf8069b39042965ad26abd6aa
# configure scripts for haskell libraries to link them with the cygwin
# libraries.
stack setup --stack-yaml stack-windows.yaml
-stack build -j 1 --stack-yaml stack-windows.yaml --no-haddock --dependencies-only
+stack build -j 1 --stack-yaml stack-windows.yaml --work-dir .stack-work --no-haddock --dependencies-only
# Build git-annex
withcyg stack build --stack-yaml stack-windows.yaml