summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-25 14:49:35 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-25 14:49:35 -0400
commit23b2e3e78d18f2a9e8edf429a7a82c50d21933dd (patch)
treed5cc9e3661e70804f35f461926bf4da1182fe5d8
parentae1515f19426daf13b55089e1c7da5f49f62b7eb (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
-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 5240e6be3..397cc86c3 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