git.iko.soy/typeable/pandoc
on master help sign in
appveyor - try manually creating package.db.
1dd9b91John MacFarlane
appveyor.yml+2−2
@@ -82,12 +82,12 @@ test_script:
82 echo "" | stack clean &&
82 echo "" | stack clean &&
83 echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
83 echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
84 )
84 )
85− # Note: need new-build before new-install:
85+ # Note: we manually create cabal store, because of a cabal bug:
86 # see https://github.com/haskell/cabal/issues/5516
86 # see https://github.com/haskell/cabal/issues/5516
87 - if "%BUILD_TYPE%" == "cabal" (
87 - if "%BUILD_TYPE%" == "cabal" (
88 cabal --version &&
88 cabal --version &&
89+ mkdir -p "%CABAL_STORE%"/ghc-8.6.1/package.db &&
89 cabal --store-dir="%CABAL_STORE%" new-update &&
90 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
91 cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
91 cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
92 )
92 )
93
93