[Hackage] #469: Support relocatable packages
Hackage
trac at galois.com
Tue Jan 20 09:42:52 EST 2009
#469: Support relocatable packages
----------------------------+-----------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.6.0.1
Severity: normal | Resolution:
Keywords: | Difficulty: very hard (<1 week)
Ghcversion: | Platform:
----------------------------+-----------------------------------------------
Comment (by duncan):
Note that the mechanism to support relocatable packages can and should
also be used to let us run programs from the build tree and still enable
them to find their data files in the build tree.
The use of environment variables in the current `Paths_pkgname` module
already allow this use, at least on Unix. We just need to take advantage
of it by generating wrapper scripts.
This would also be nice for supporting running programs with runhaskell
(eg for hugs or ghc).
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/469#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list