Changes between Version 1 and Version 2 of Ticket #1602


Ignore:
Timestamp:
Mar 28, 2011 5:53:18 PM (3 years ago)
Author:
creswick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1602 – Description

    v1 v2  
    22 
    33A great deal of this difficulty stems from the lack of library support for code in Setup.hs.  Adding a cabal section that specifies a build-depends: for Custom (and possibly other) build types would allow developers to reuse build code between projects, to share build system modifications on hackage more easily, and to prototype new additions to cabal. 
     4 
     5Setup.hs *can* allow arbitrarily complex build system manipulations; however, it is not practical to do so because the infrastructure surrounding Setup.hs doesn't promote code reuse.  The addition of dependencies that cabal-install would install prior to building setup.hs and issuing the build would enable developers to produce custom builds that perform complex operations that utilize the high-quality libraries available on hackage.  Furthermore, this would provide the means to prototype (and distribute) new cabal / cabal-install features before integrating experimental code into the stable tools. 
    46 
    57I think something akin to the Library section would work for this, e.g.;