git.iko.soy/typeable/pandoc
on master help sign in
appveyor - try manually creating package.db.
commit1dd9b9141a060047519dd162c9726a90acf796d7 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 25 Sep 2018, 14:08 (8 years ago) parent1a7958f
1 file changed+2−2
appveyor.yml+2−2
appveyor.yml+2−2
@@ -82,12 +82,12 @@ test_script:
8282 echo "" | stack clean &&
8383 echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
8484 )
85− # Note: need new-build before new-install:
85+ # Note: we manually create cabal store, because of a cabal bug:
8686 # see https://github.com/haskell/cabal/issues/5516
8787 - if "%BUILD_TYPE%" == "cabal" (
8888 cabal --version &&
89+ mkdir -p "%CABAL_STORE%"/ghc-8.6.1/package.db &&
8990 cabal --store-dir="%CABAL_STORE%" new-update &&
90− cabal --store-dir="%CABAL_STORE%" new-build -w %GHC% --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
9191 cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
9292 )
9393