I have cabal version:
❯ cabal --version
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library
Here is what I am doing.
mkdir foo
cd foo
cabal init
cabal install
and I am getting an error:
LICENSE: openBinaryFile: does not exist (No such file or directory)
What I am doing wrong here?
When ran in the manner you describe, cabal init
warns that:
Warning: unknown license type, you must put a copy in LICENSE yourself.
Without a LICENSE
file, certain commands won't work properly (cf., for instance, cabal issue #6744). You should either create a LICENSE
file, or pick one of the licenses Cabal knows about by specifying it through the -l
option of cabal init
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With