我正在尝试在 Windows 上使用堆栈。我克隆了 git repo,运行cabal install --only-dependencies
, cabal configure
, cabal build
. 一切正常
然后dist\build\Stackage\stackage.exe select
Loading Haskell Platform
Loading package database
Narrowing package database
Printing build plan to build-plan.log
Checking for bad versions
authenticate-oauth-1.4.0.8 (FP Complete <michael@fpcomplete.com> @yesodweb) cannot use:
- RSA-2.0 -- ==1.2.*
threepenny-gui-0.4.1.0 (FP Complete <michael@fpcomplete.com>) cannot use:
- aeson-0.7.0.2 -- ==0.6.*
stackage.exe: Conflicting build plan, exiting
自述文件提到 *.sh 脚本,例如./patching/scripts/create-tarballs.sh
. 我尝试过但未能使用 cygwin 运行它们。它们重要吗?
如何在 Windows 上使用堆栈?
编辑我能够./patching/scripts/create-tarballs.sh
使用 msys 运行脚本。但现在错误信息是:
Loading Haskell Platform
Loading package database
stackage.exe: Missing cabal file "MFlow-0.3.3/MFlow.cabal" in tarball: "patching/tarballs\\MFlow-0.3.3.tar.gz"
我检查了存档:cabal 文件在里面。