[Hackage] #822: world-file does not support $arch, $os, $compiler

Hackage cvs-ghc at haskell.org
Fri Mar 25 17:08:36 CET 2011


#822: world-file does not support $arch, $os, $compiler
---------------------------------+------------------------------------------
  Reporter:  josh                |        Owner:          
      Type:  defect              |       Status:  new     
  Priority:  normal              |    Milestone:          
 Component:  cabal-install tool  |      Version:  1.10.1.0
  Severity:  normal              |     Keywords:          
Difficulty:  unknown             |   Ghcversion:          
  Platform:                      |  
---------------------------------+------------------------------------------
 In my ~/.cabal/config, I have:

 install-dirs user
   prefix: /home/josh/.cabal/install/$arch-$os-$compiler

 This allows packages for multiple architectures (such as 32-bit and
 64-bit) or multiple compilers (such as ghc6 and ghc7) to coexist.  It also
 ensures that after upgrading the compiler, old libraries that won't work
 automatically disappear.

 Recent cabal added a "world" file, under ~/.cabal/world.  I tried to move
 this to the same directory, by adding:

 world-file: /home/josh/.cabal/install/$arch-$os-$compiler/world

 However, this generated the following error:

 Error while Error while updating world-file. :
 /home/josh/.cabal/install/$arch-$os-$compiler/: openNewBinaryFile: does
 not exist (No such file or directory)

 From this, I'd guess that cabal doesn't support those variables in world-
 file like it does in prefix.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/822>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list