summaryrefslogtreecommitdiff
path: root/compiler/main/FileSettings.hs
blob: f531d206a9b9eec85a50ec500b27455862683440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module FileSettings
  ( FileSettings (..)
  ) where

import GhcPrelude

-- | Paths to various files and directories used by GHC, including those that
-- provide more settings.
data FileSettings = FileSettings
  { fileSettings_ghcUsagePath        :: FilePath       -- ditto
  , fileSettings_ghciUsagePath       :: FilePath       -- ditto
  , fileSettings_toolDir             :: Maybe FilePath -- ditto
  , fileSettings_topDir              :: FilePath       -- ditto
  , fileSettings_tmpDir              :: String      -- no trailing '/'
  , fileSettings_systemPackageConfig :: FilePath
  }