Closed
Description
nix-shell
works by setting a bunch of env variables. It would be nice if among those variables it could set would be one that directed cabal
to use a config file other than in ~/.cabal/config. That way, we could tweak all of cabal's other settings at once to make it play nicely in the nix environment. This is potentially useful in other settings as well when some other tool wants to put cabal into a specific environment.