Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cabal aggregates dependencies for executables #822
I discovered over the weekend while trying to subpackage bluetile,
Only the executables that are listed with explicit build-depends on gtk
I will try to dig into the source later and maybe even cook up
If you change to cabal-version: >= 1.8 then it should do what you expect.
This was an old bug but we could not immediately fix it since there were lots of old packages that accidentally relied on this bug. So the fixed behaviour is opt-in by requiring a sufficiently new cabal version.
I'll leave this ticket open for a bit so you can check if this does indeed fix it for you. Also, if you have any suggestion on how to make this more discoverable, that'd also be welcome.