Make sandbox configs inherit from '~/.cabal/config'.

Fixes #1123.