Proposal: Don't read environment files by default
Mikhail Glushenkov
mikhail.glushenkov at gmail.com
Fri Apr 5 12:54:57 UTC 2019
Hi *,
On Fri, 5 Apr 2019 at 12:09, Matthew Pickering
<matthewtpickering at gmail.com> wrote:
>
> [...]
>
> Therefore, it seems the correct course of action is to stop cabal
> generating the environment files by default. If user's still want to
> use them then they are easy to enable globally via a configuration
> setting.
>
> This can be achieved by adding the following to your "~/.cabal/config" file:
>
> write-ghc-environment-files: always
Please also note that this can be set per-project in the
'cabal.project' file. This is what we (Scrive AB) use to make ghcid
work out of the box for everyone in the team.
More information about the ghc-devs
mailing list