Commit 328cd25
committed
happy: drop from the bundle — 2.x needs a recipe change, not a version bump
Reverts happy to 1.20.1.1 so the other five members can land. The 2.1.6 bump
fails to build on BOTH arches:
Error: Setup: Encountered missing or private dependencies:
happy-lib ==2.1.6
(The `libtinfo.so.6: no version information available` lines above it in the
log are benign GHC noise, not the failure.)
happy 2.x split its library out into a separate Hackage package. `happy.cabal`
now declares `build-depends: ... happy-lib == 2.1.6`, and `happy-lib-2.1.6` is
its own tarball. Our build.sh is a bare `ghc --make Setup.hs` +
`./Setup configure/build` with no dependency resolution at all — self-contained
1.20.x builds fine that way, 2.x cannot.
So this is not a stale pin or a bad sha: the recipe's build model no longer
matches upstream's topology. A version check cannot see that; only a build can,
which is what caught it.
Fixing it means adding happy-lib as a second Source and building lib -> exe.
There's no precedent to copy — `alex` and `happy` are our only Hackage packages
and both have exactly one source — so it deserves its own PR rather than riding
an automated bundle.1 parent ba32bd8 commit 328cd25
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments