aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-09-25 14:08:26 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-25 14:08:26 -0700
commit1dd9b9141a060047519dd162c9726a90acf796d7 (patch)
treee97365b922bc5b2b047da68c715ff14673f98563 /appveyor.yml
parent1a7958f64b5b0443f841e290ce1d01d3231c1b19 (diff)
downloadpandoc-1dd9b9141a060047519dd162c9726a90acf796d7.tar.gz
appveyor - try manually creating package.db.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 618bc5ea4..13053848c 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -82,12 +82,12 @@ test_script:
echo "" | stack clean &&
echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
)
- # Note: need new-build before new-install:
+ # Note: we manually create cabal store, because of a cabal bug:
# see https://github.com/haskell/cabal/issues/5516
- if "%BUILD_TYPE%" == "cabal" (
cabal --version &&
+ mkdir -p "%CABAL_STORE%"/ghc-8.6.1/package.db &&
cabal --store-dir="%CABAL_STORE%" new-update &&
- cabal --store-dir="%CABAL_STORE%" new-build -w %GHC% --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
)