haskell / haskell/cabal

v2-sdist does not create Setup.hs

Open
#5,849 6 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

A project should not require a default `Setup.hs`. `cabal v2-build` works fine without one, but `cabal v2-sdist` fails to generate a default `Setup.hs` for the tarball.

## Version

```
$ cabal --version
cabal-install version 2.4.1.0
compiled using version 2.4.1.0 of the Cabal library
```

## When uploaded to hackage

![image](https://user-images.githubusercontent.com/545655/51397815-a34d8b80-1b07-11e9-9a3e-f208a5d3fd8d.png)

## Source issue

see: https://github.com/haskell/network/issues/357

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.