haskell / haskell/cabal

Distinguish human created and machine derived data in `.cabal` files

Open
#3,744 9 comments 0 reactions 0 assignees View on GitHub
Cabal: file format exact-print
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

One example of where this comes up is with `other-extensions`, which can sometimes be machine-derived. Quoting @ezyang from [here](https://github.com/haskell/cabal/issues/1562#issuecomment-243694149):

> I am very sympathetic to your concern, but unfortunately having it be implicit would sort of miss the point, because the dependency solver wants to make decisions about what packages to choose without having to actually look at the Haskell files (it's got only the Cabal file, not the full tarball.)
>
> Maybe the moral of the story is that Cabal metadata should be divided into two parts: one that is hand-written, and one that is machine generated. When you upload, you upload both parts (so you have to be able to generate the machine bits.)

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.