[Haskell-cafe] Has anybody tried to upgrade Cabal on HP (Win 7)

Daniel Kahlenberg d.kahlenberg at googlemail.com
Fri Jun 18 12:12:46 EDT 2010


On 18.06.2010 17:07, JP Moresmau wrote:
> got around by making sure every thing was installed with --global

I forgot using the --global flag to be complete, so here is the full
command in a ghci session (account with full access rights, msys tools
on path) again:

Prelude System.Cmd>
> rawSystem "cabal" ["upgrade", "directory", "-v3", "--build-log=d:/temp/
> log/build-$$pkgid-$$compiler-msys.log", "--extra-include-dirs=C:\\Progra
> m Files (x86)\\Haskell Platform\\2010.1.0.0\\lib\\include", "--global"]

Otherwise things will be installed in privileged users package file.

Daniel


More information about the Haskell-Cafe mailing list