Join GitHub today
world-file does not support $arch, $os, $compiler #812
(Imported from Trac #822, reported by josh on 2011-03-25)
In my ~/.cabal/config, I have:
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:
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.