[Hackage] #204: should setting user-prefix in ~/.cabal/config work?
Hackage
trac at galois.com
Sun Jan 6 00:58:58 EST 2008
#204: should setting user-prefix in ~/.cabal/config work?
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.2.3.0
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: Linux |
---------------------------------+------------------------------------------
Setting user-prefix in .cabal/config leads to the following error:
{{{
wolverian at puni:~$ cabal info xmonad
Warning: Error parsing config file /home/wolverian/.cabal/config: On line
5: Parse of field 'prefix' failed:
Warning: Using default configuration.
}}}
I don't think the file format is documented anywhere, but a bit of
poking in the source and a Google led me to believe that this should
work.
My config file looks like this:
{{{
wolverian at puni:~$ cat .cabal/config
compiler: GHC
repos: hackage.haskell.org:http://hackage.haskell.org/packages/archive
cachedir: "/home/wolverian/.cabal/packages"
user-install: true
user-prefix: "/home/wolverian"
hackage-username: ""
hackage-password: ""
}}}
This is with up-to-date (as of today) Cabal and cabal-install from Darcs:
{{{
wolverian at puni:~$ cabal --version
cabal-install version 0.4.1
using version 1.3.2 of the Cabal library
}}}
And my GHC is a local (in ~) GHC 6.8.2:
{{{
wolverian at puni:~$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2
}}}
--
wolverian[[BR]]
ilmari.vacklin at cs.helsinki.fi
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/204>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list