作为许可证的安装错误提示:openBinaryFile:不存在(没有这样的文件或目录)

问题描述 投票:2回答:1

我有阴谋版:

❯ 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)

我在这里做错了什么?

haskell ghc cabal
1个回答
0
投票

[按照您描述的方式运行时,cabal init警告:

Warning: unknown license type, you must put a copy in LICENSE yourself.

确实,如果没有LICENSE文件,某些命令将无法正常工作(例如,cabal issue #6744)。您应该创建一个LICENSE文件,或者通过-lcabal init选项指定Cabal知道的许可证之一。

© www.soinside.com 2019 - 2024. All rights reserved.