summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-09-06 13:25:02 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-09-06 13:25:02 -0400
commit2f58f8de3c4f5ffd6232325f319413672d65c410 (patch)
tree3c32f7286a12bf14ee789a90fd061af494b785cc /standalone
parent6ce945998503dfaa30b94412bc589d765e0e18a7 (diff)
try using cabal constraint
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/windows/build.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index fcb864599..f8d593430 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -39,9 +39,7 @@ rm -f git-annex-installer.exe
# for haskell libraries to link them with the cygwin library.
cabal update || true
-cabal install persistent-sqlite-2.2
-
-cabal install --only-dependencies || true
+cabal install --only-dependencies --constraint='persistent-sqlite ==2.2' || true
# Detect when the last build was an incremental build and failed,
# and try a full build. Done this way because this shell seems a bit