Add userWays and make sure all user-specific settings are used.
[hadrian.git] / src / Settings.hs
1 {-# LANGUAGE NoImplicitPrelude, FlexibleInstances #-}
2
3 module Settings (
4 settings
5 ) where
6
7 import Base hiding (arg, args, Args)
8 import Rules.Data
9 import Oracles.Builder
10 import Expression
11 import Expression.Settings
12
13 settings :: Settings
14 settings = do
15 stage <- asks getStage
16 mconcat [ builder GhcCabal ? cabalSettings
17 , builder (GhcPkg stage) ? ghcPkgSettings ]