summaryrefslogtreecommitdiff
path: root/compiler/main/FileSettings.hs
blob: 6179721cfd15372f00f6bd675ec75e4b4ca80472 (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_globalPackageDatabase :: FilePath
  }