
5 Apr
2019
5 Apr
'19
8:54 a.m.
Hi *,
On Fri, 5 Apr 2019 at 12:09, Matthew Pickering
[...]
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.