Ouch, right, I forgot the default is global. It works fine with cabal install --user. And of course I could have edited the default config file, setting user-install: True
Well, maybe for newbies this might be a bit confusing. Typically, under Windows Vista or 7 when you try to install something that requires admin rights, you get a popup window asking if it's okay to do so. Would be great to have this support built into Cabal? On Tue, Sep 8, 2009 at 3:45 PM, John Van Enk<vane...@gmail.com> wrote: > Might it make sense to try and get the concept of "global" and "user" > working in Windows? (It may already, but I noticed that the default seems to > be global.") > > I don't know what technical challenges there are, but the ApplicationData > directory (or AppData, or whatever) seems like a good place to stick user > cabal packages. > > /jve > > On Tue, Sep 8, 2009 at 9:31 AM, Peter Verswyvelen <bugf...@gmail.com> wrote: >> >> I tried the "cabal install" command on Windows 7, and I had to run it >> with administrative privileges, otherwise I got access denied (it >> failed to create the Haskell folder in C:\Program Files) >> >> Not sure if this is also the case on Vista. >> >> Is this the intended behavior? >> _______________________________________________ >> Haskell-Cafe mailing list >> Haskell-Cafe@haskell.org >> http://www.haskell.org/mailman/listinfo/haskell-cafe > > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe