Make targetDirectory and knownPackages configurable, rename Environment to Target.
[hadrian.git] / src / Settings.hs
1 module Settings (
2 settings
3 ) where
4
5 import Base hiding (arg, args)
6 import Settings.GhcPkg
7 import Settings.GhcCabal
8 import UserSettings
9 import Expression hiding (when, liftIO)
10
11 settings :: Settings
12 settings = defaultSettings <> userSettings
13
14 -- TODO: add all other settings
15 defaultSettings :: Settings
16 defaultSettings = mconcat
17 [ cabalSettings
18 , ghcPkgSettings
19 , customPackageSettings ]