[haskell-platform] #64: Add a vcvars32.bat-like bat file
haskell-platform
haskell-platform at projects.haskell.org
Thu Jun 4 12:23:59 EDT 2009
#64: Add a vcvars32.bat-like bat file
-------------------------------+--------------------------------------------
Reporter: refold | Owner: refold
Type: enhancement | Status: assigned
Priority: major | Milestone: 2009.4.0
Component: Windows installer | Resolution:
Keywords: |
-------------------------------+--------------------------------------------
Comment (by claus):
> Adding ghc-paths at its current state to HP would be useless, since it
refers to the paths on the build machine, not the machine on which HP is
installed.
By the nature of `ghc-paths` (capture the GHC installation paths in a
Haskell module), you cannot bundle an installed version. That doesn't mean
you couldn't install a bundled version, though!-) That is what post-
install scripts are for, usually (call `cabal install` on a local copy, at
the end of the HP installation).
I'm not saying it should be added - on its own, it is easy enough to
install from hackage. The point is that it was designed to simplify a
whole class of installation path related issues, so having it available
for installation might be very useful (and better than reinventing its
functionality).
This ticket is but one example of how it might make your job easier to
have it at hand: I just install `ghc-paths` with every GHC I install, and
if I have the path to `ghc.exe`, I can find everything else for that
version (`ghc-pkg.exe`, `libdir`, docs), so I only have to worry about
changing one path (and using a different GHCi with an absolute path works
just as well).
As I said, just a suggestion.
--
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/64#comment:5>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries
More information about the Haskell-platform
mailing list