change location of user's package directory

Brandon Allbery allbery.b at
Sun Jul 28 16:19:46 CEST 2013

On Sun, Jul 28, 2013 at 5:35 AM, harry <voldermort at> wrote:

> $ ghc-pkg check --package-db=~/cabal
> ghc-pkg: ~/cabal: openFile: does not exist (No such file or directory)
> $ ls ~/cabal
> package.cache

Yet another reason to avoid ~... it's (a) only expanded by the shell, and
(b) not reliably expanded even by the shell if it's not the very start of a
word (as here where it is after =). Use $HOME instead.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list