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
Fri Feb 8 11:26:13 PST 2008 Duncan Coutts <duncan@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@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel