haskell / haskell/cabal

Plans that use bootstrapping to break cycles

Open
#7,189 7 comments 0 reactions 0 assignees View on GitHub
cabal-install: solver
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

In https://github.com/simonmar/happy/pull/175 (no merged) I have

```cabal
executable happy
...
if flag(bootstrap)
...
-- build-tools: happy
else
...
```
I would like to uncomment `build-tools: happy` to indicate that when bootstrapping, Happy does in fact depend on Happy, but then Cabal will complain of the cycle.

There's a lot of nuance on exactly how to make this goal, but I figured I'd start with the problem first, now that I finally have a small example of it.

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.