我有阴谋集团版本:
? cabal --version
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library
Run Code Online (Sandbox Code Playgroud)
这就是我正在做的事情。
mkdir foo
cd foo
cabal init
cabal install
Run Code Online (Sandbox Code Playgroud)
我收到一个错误:
LICENSE: openBinaryFile: does not exist (No such file or directory)
Run Code Online (Sandbox Code Playgroud)
我在这里做错了什么?
当以您描述的方式运行时,cabal init警告:
Warning: unknown license type, you must put a copy in LICENSE yourself.
Run Code Online (Sandbox Code Playgroud)
如果没有LICENSE文件,某些命令将无法正常工作(例如,请参阅cabal 问题 #6744)。您应该创建一个LICENSE文件,或选择惊天动地知道许可证的一个由通过指定它-l的选项cabal init。