darcs patch: Be lazier in user config creation,
and don't fail on m...
Ian Lynagh
igloo at earth.li
Sun Jun 25 05:33:37 EDT 2006
Hi all,
Currently, building ghc with a non-writable home directory is failing:
../utils/ghc-pkg/ghc-pkg-inplace -f ../driver/package.conf --force --update-package <package.conf.installed
Creating user package database in /home/ian/.ghc/x86_64-linux-6.5/package.conf
ghc-pkg.bin: /home/ian/.ghc: createDirectory: permission denied (Permission denied)
which is a problem for the Debian packages.
I'm not entirely sure what the logic in ghc-pkg is meant to do as I
would have thought it should create ../driver/package.conf rather than
/home/ian/.ghc/x86_64-linux-6.5/package.conf, but this patch stops it
creating any empty package.conf, leaving it to create it when it
actually has something to put in it.
Thanks
Ian
Sun Jun 25 00:08:00 BST 2006 Ian Lynagh <igloo at earth.li>
* Be lazier in user config creation, and don't fail on missing configs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 41447 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org//pipermail/cvs-ghc/attachments/20060625/8b5d42bc/attachment-0001.bin
More information about the Cvs-ghc
mailing list