
#15540: GHCi does not follow the XDG Base Directory Specification -------------------------------------+------------------------------------- Reporter: rszibele | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: GHCi | Version: 8.0.2 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by potato44):
The package database would also belong in `$XDG_CACHE_HOME/ghc`
I don't think this is quite right, I believe you are meant to be able to delete the cache directory without ill effect. I believe the correct directory would be `$XDG_DATA_HOME/ghc`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15540#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler