haskell / haskell/cabal

`cabal new-build` chokes on `executable autogen`

Open
#5,044 2 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Consider the following pathological `autogen.cabal` case:

```
cabal-version: 2.0
name: autogen
version: 0
build-type: Simple

executable autogen
main-is: Main.hs
build-depends: base
default-language: Haskell2010
```

This will fail to build due to filesystem name clashes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.