From bcb5582b528e6e9a028d30fe544372423bb5810f Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 25 Sep 2017 11:28:23 +0200 Subject: Change cache dir name to 'cabal-helper' from 'ghc-mod' --- CabalHelper/Shared/Common.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CabalHelper') 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 -- cgit v1.2.3