Continuing https://github.com/haskell/cabal/issues/55 -- I'm stuck in this bug now (using {#import's in C2HS, which fails without dependency resolution).
Activity
abbradar commentedon May 28, 2014
Gtk2Hs has such dependency resolution: see https://github.com/gtk2hs/gtk2hs/blob/master/gtk/Gtk2HsSetup.hs . This can be reused, I suppose.
abbradar commentedon May 28, 2014
I've made a minimal "Setup.hs" that implements dependency resolution from C2HS files (code is taken from Gtk2Hs with cleanup). This probably can be integrated into Cabal more easily.
http://bpaste.net/show/311364/
Switch to c2hs
vmchale commentedon Jan 22, 2020
@abbradar I wrote chs-cabal which polishes it up a bit - it's kind of hacky on the Cabal side, but it works.
poscat0x04 commentedon Feb 17, 2020
@vmchale Is it possible to use this package with stack?
Edit: nvm I figured it out that you could use the custom build type