UserSettings.hs 547 Bytes
Newer Older
Andrey Mokhov's avatar
Andrey Mokhov committed
1
module UserSettings (
2
    userSettings, userPackages
Andrey Mokhov's avatar
Andrey Mokhov committed
3
4
5
6
7
8
9
10
11
12
13
14
    ) where

import Base hiding (arg, args, Args)
import Rules.Data
import Oracles.Builder
import Expression
import Expression.Settings

userSettings :: Settings
userSettings = mconcat
    [ package compiler ? stage Stage0 ? append ["foo", "bar"]
    , builder (Ghc Stage0) ? remove ["-O2"]
15
    , builder GhcCabal ? removeSub "--configure-option=CFLAGS" ["-Werror"] ]
Andrey Mokhov's avatar
Andrey Mokhov committed
16

17
18
19
20
userPackages :: Settings
userPackages = mconcat
    [ stage Stage1 ? remove [cabal]
    ,                remove [compiler] ]