#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:

 {{{
 [EMAIL PROTECTED]:~$ 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:

 {{{
 [EMAIL PROTECTED]:~$ 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:

 {{{
 [EMAIL PROTECTED]:~$ 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:

 {{{
 [EMAIL PROTECTED]:~$ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.8.2
 }}}

 --
 wolverian[[BR]]
 [EMAIL PROTECTED]

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/204>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to