[GHC] #15540: GHCi does not follow the XDG Base Directory Specification

GHC ghc-devs at haskell.org
Sun Aug 19 12:38:07 UTC 2018


#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
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Hello,

 GHCi does not follow the XDG Base Directory Specification by default on
 GNU/Linux based operating systems.

 It creates for instance the file $HOME/.ghc/ghci_history which belongs in
 $XDG_CACHE_HOME/ghc/ , or $HOME/.cache/ghc/ if $XDG_CACHE_HOME is not set.

 $ ghci --version
 The Glorious Glasgow Haskell Compilation System, version 8.0.2

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15540>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list