我有阴谋版:
❯ cabal --version
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library
这是我在做什么。
mkdir foo
cd foo
cabal init
cabal install
我收到一个错误:
LICENSE: openBinaryFile: does not exist (No such file or directory)
我在这里做错了什么?
[按照您描述的方式运行时,cabal init
警告:
Warning: unknown license type, you must put a copy in LICENSE yourself.
确实,如果没有LICENSE
文件,某些命令将无法正常工作(例如,cabal issue #6744)。您应该创建一个LICENSE
文件,或者通过-l
的cabal init
选项指定Cabal知道的许可证之一。