diff options
Diffstat (limited to 'CabalHelper/Shared/Common.hs')
-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 |