GHC.SysTools.BaseDir
expandTopDir :: FilePath -> String -> String Source #
Expand occurrences of the $topdir interpolation in a string.
$topdir
expandToolDir Source #
Arguments
whether we are use the ambiant mingw toolchain
tooldir
Expand occurrences of the $tooldir interpolation in a string on Windows, leave the string untouched otherwise.
$tooldir
findTopDir :: Maybe String -> IO String Source #
Returns a Unix-format path pointing to TopDir.
findToolDir Source #
topdir
tryFindTopDir Source #
Maybe TopDir path (without the '-B' prefix).
TopDir (in Unix format / separated)
/