When I have a sandbox, it seems cabal install
ignores packages in $HOME/.ghc/x86_64-linux-7.8.4/package.conf.d
.
How can I configure the sandbox such that these packages become visible?
I am seeing a vague reference to --package-db=db
in https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes-advanced-usage
but I understand neither how nor when to use it. (with sandbox init? configure? install? none seems to work - none gives any error message either.)
I know about add-source
but my question refers to installed packages.