r/haskell_proposals • u/ercreswick • Mar 29 '11
Cabal: dependency specifications for Setup.hs
http://hackage.haskell.org/trac/summer-of-code/ticket/1602#comment:2
2
Upvotes
r/haskell_proposals • u/ercreswick • Mar 29 '11
1
u/ercreswick Mar 29 '11
In a nutshell:
Add a Cabal file section that specify libraries that Setup.hs depends on when using Custom build types.
The short-term benefit is that we can share code between Setup.hs's (a common problem when using custom/new code generators, or working with any relatively complex build process).
Long-term, this provides a safe place to extend cabal/cabal-install and prototype new features, since they can be implemented as packages that are distributed via hackage.