I figured it out. It appears to be "Colour" package specific. The datadir still point to "c:\Program File" even with --user. I manually edit the dist/setup-config and get Colour installed. After that, other packages seem working fine.
Jian Fan <abe...@gmail.com> wrote: > Does cabal install --user or --prefix work on Windows at all? > I tried: > > cabal install colour --user > cabal install --user colour > etc > > and all failed because install try to install at c:Program Files > which I don't have permission writing. > > I have: > cabal-install version 0.6.2 > using version 18.104.22.168 of the Cabal library > The Glorious Glasgow Haskell Compilation System, version 6.10.4 > > Thanks > > Jian > ~ > > ~ > > ~ > > ~ > > ~ > > ~ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe