Skip to content
Snippets Groups Projects
Commit 95150654 authored by Arjun Kathuria's avatar Arjun Kathuria :rocket:
Browse files

adds conditional export of useXDG in non-windows OS-es. fix in rmGhcupDirs code that used useXDG

parent 82a8c61c
No related branches found
No related tags found
1 merge request!101[WIP] Feature "nuke"
......@@ -1370,7 +1370,7 @@ rmGhcupDirs = do
rmBinDir binDir = do
#if !defined(IS_WINDOWS)
isXDGStyle <- useXDG
isXDGStyle <- liftIO $ useXDG
if not isXDGStyle
then removeDirIfEmpty binDir
else pure ()
......
......@@ -27,6 +27,9 @@ module GHCup.Utils.Dirs
, relativeSymlink
, withGHCupTmpDir
, getConfigFilePath
#if !defined(IS_WINDOWS)
, useXDG
#endif
)
where
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment