diff options
author | Gauvain 'GovanifY' Roussel-Tarbouriech <gauvain@govanify.com> | 2020-12-05 23:02:44 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-18 13:46:19 -0500 |
commit | 763d28551de32377a1dca8bdde02979e3686f400 (patch) | |
tree | b96de6da511d3fc2f7b29260d8250afb787df758 /compiler/GHC/Driver/Session.hs | |
parent | 2adfb404111c220ef4df0206d9cda20c2fe5db46 (diff) | |
download | haskell-763d28551de32377a1dca8bdde02979e3686f400.tar.gz |
directory: ensure xdg compliance (Fix #6077)
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r-- | compiler/GHC/Driver/Session.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs index 90f49f995f..5e76da3490 100644 --- a/compiler/GHC/Driver/Session.hs +++ b/compiler/GHC/Driver/Session.hs @@ -867,7 +867,7 @@ opt_i dflags= toolSettings_opt_i $ toolSettings dflags versionedAppDir :: String -> ArchOS -> MaybeT IO FilePath versionedAppDir appname platform = do -- Make sure we handle the case the HOME isn't set (see #11678) - appdir <- tryMaybeT $ getAppUserDataDirectory appname + appdir <- tryMaybeT $ getXdgDirectory XdgData appname return $ appdir </> versionedFilePath platform versionedFilePath :: ArchOS -> FilePath |