[Hackage] #326: Cabal should support Cabal-version-dependent
Setup.hs
Hackage
trac at galois.com
Mon Aug 18 19:25:27 EDT 2008
#326: Cabal should support Cabal-version-dependent Setup.hs
----------------------------+-----------------------------------------------
Reporter: claus | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Comment (by duncan):
Replying to [comment:6 claus]:
> Ah, I see - the macros are only temporarily available while building. I
had assumed that Cabal would generate them permanently for each package,
so that not only cabal-install could profit from them.
Cabal makes them available while building, a macro for testing the version
of each dependency. It's not just cabal-install, it's done in the Cabal
lib. I'm not sure what you're suggesting as an alternative, that we
install the .h files too? I guess that would let packages that build
without using Cabal to use the version macros of packages that were built
with Cabal. Is that what you mean? Is that a major advantage?
The problem with using these macros for compiling Setup.hs is that that
would only help cabal-install and would actively hinder everyone else.
`runghc Setup` would stop working.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/326#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list