patch applied (cabal): Fix a bug where the destdir prefix got included in the prog prefix and suffix

Peter Higley phigley at gmail.com
Sat Feb 9 16:50:52 EST 2008


I didn't like putting prefix and suffix in InstallDirs either.  I was just
following the path of least resistance!  I'll look into moving them out of
there.

Peter

On Feb 8, 2008 12:41 PM, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:

> Fri Feb  8 11:26:13 PST 2008  Duncan Coutts <duncan at haskell.org>
>  * Fix a bug where the destdir prefix got included in the prog prefix and
> suffix
>  Previously all members of InstallDirs were paths so it was safe to prefix
>  them all with the destdir, but now we've also got these two non-paths, so
>  we have to not apply the prefix to them. Perhaps the program prefix and
> suffix
>  should just be PathTemplates on their own and not part of InstallDirs.
>  Reported by MarcWeber while hacking on Haskell packages for Nix.
>
>    M ./Distribution/Simple/InstallDirs.hs -1 +7
>
> _______________________________________________
> cabal-devel mailing list
> cabal-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/cabal-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/cabal-devel/attachments/20080209/f317bc32/attachment.htm


More information about the cabal-devel mailing list