Skip to content

Conversation

brikken
Copy link

@brikken brikken commented Feb 17, 2021

Added package name parameter to cabal init since it'll fail without it (Cabal 3.2.0)

PS D:\User\Documents\Programming\Haskell\MiscTests\cabal> cabal init

Guessing dependencies...

Generating LICENSE...
Warning: unknown license type, you must put a copy in LICENSE yourself.
Generating Setup.hs...
Generating CHANGELOG.md...
Generating Main.hs...
Error: no package name provided.

Added package name parameter to `cabal init` since it'll fail without it (Cabal 3.2.0)

```
PS D:\User\Documents\Programming\Haskell\MiscTests\cabal> cabal init

Guessing dependencies...

Generating LICENSE...
Warning: unknown license type, you must put a copy in LICENSE yourself.
Generating Setup.hs...
Generating CHANGELOG.md...
Generating Main.hs...
Error: no package name provided.
```
Copy link
Member

@emilypi emilypi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this behavior is fixed as of cabal-instal-3.4.0.0. I am stil fine with adding this, but can you not use the flag and use the expanded name (--package-name)?

I'll approve and merge when that's done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants