Respect XDG_CONFIG_HOME
As of now, ghc creates and uses a "$HOME/.ghc" directory. This is annoying to those who like to keep their HOME directory clean through use of the XDG_CONFIG_HOME variable. Specifically, it's nice to have all configuration files in "HOME/.config" instead of polluting "$HOME".
It would be great if ghc could create and use its configuration directory in the configuration directory specified by the user.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.4.1 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | None |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |