aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Shared
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-09-25 11:28:23 +0200
committerDaniel Gröber <dxld@darkboxed.org>2017-09-25 13:11:58 +0200
commitbcb5582b528e6e9a028d30fe544372423bb5810f (patch)
treed0eaa441bdfd70002b2e071c60d6737beb8474c7 /CabalHelper/Shared
parent46486c76b8a22ac28802c62eedd65819e587c9b8 (diff)
Change cache dir name to 'cabal-helper' from 'ghc-mod'
Diffstat (limited to 'CabalHelper/Shared')
-rw-r--r--CabalHelper/Shared/Common.hs2
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