diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-09-25 11:28:23 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2017-09-25 13:11:58 +0200 |
commit | bcb5582b528e6e9a028d30fe544372423bb5810f (patch) | |
tree | d0eaa441bdfd70002b2e071c60d6737beb8474c7 /CabalHelper/Shared | |
parent | 46486c76b8a22ac28802c62eedd65819e587c9b8 (diff) |
Change cache dir name to 'cabal-helper' from 'ghc-mod'
Diffstat (limited to 'CabalHelper/Shared')
-rw-r--r-- | CabalHelper/Shared/Common.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CabalHelper/Shared/Common.hs b/CabalHelper/Shared/Common.hs index b4c9e46..f3497bc 100644 --- a/CabalHelper/Shared/Common.hs +++ b/CabalHelper/Shared/Common.hs @@ -90,7 +90,7 @@ runReadP p i = case filter ((=="") . snd) $ readP_to_S p i of appCacheDir :: IO FilePath appCacheDir = - (</> "ghc-mod") <$> getEnvDefault "XDG_CACHE_HOME" (homeRel cache) + (</> "cabal-helper") <$> getEnvDefault "XDG_CACHE_HOME" (homeRel cache) where getEnvDefault var def = lookupEnv var >>= \m -> case m of Nothing -> def; Just x -> return x homeRel path = (</> path) <$> getHomeDirectory |