
#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: | -------------------------------------+------------------------------------- Changes (by bgamari): * keywords: => newcomer Comment: For the record, the specification says the following:
`$XDG_CACHE_HOME` defines the base directory relative to which user specific non-essential data files should be stored. If `$XDG_CACHE_HOME` is either not set or empty, a default equal to `$HOME/.cache` should be used.
Indeed `.ghci_history` is rather non-essential. However, what is the argument for singling out `.ghci_history`? GHC puts all kinds of things in `~/.ghc`, including the user package database. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15540#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler