diff options
author | Sebastian Graf <sgraf1337@gmail.com> | 2019-02-01 04:48:41 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-02-02 14:02:35 -0500 |
commit | 6dae133fc049fe7a91414cb4ff1afe2db8e91984 (patch) | |
tree | 82d0192d2d191d664b7035df683dfa1cdc99ec9a /hadrian/doc | |
parent | f0cd728fde9bb582930a616cff8d0c5a178c5e14 (diff) | |
download | haskell-6dae133fc049fe7a91414cb4ff1afe2db8e91984.tar.gz |
Update user-settings.md with a pointer to `Packages`
[skip ci]
Diffstat (limited to 'hadrian/doc')
-rw-r--r-- | hadrian/doc/user-settings.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hadrian/doc/user-settings.md b/hadrian/doc/user-settings.md index 6c6aab7a9f..49e560cc7e 100644 --- a/hadrian/doc/user-settings.md +++ b/hadrian/doc/user-settings.md @@ -107,6 +107,10 @@ path component, excluding any separators. Users can add and remove packages from particular build stages. As an example, below we add package `base` to Stage0 and remove package `haskeline` from Stage1: ```haskell +... +import Packages +... + userFlavour :: Flavour userFlavour = defaultFlavour { name = "user", packages = modifiedPackages } @@ -136,7 +140,7 @@ You can choose which integer library to use when builing GHC using the (default) and `integerSimple`. ```haskell userFlavour :: Flavour -userFlavour = defaultFlavour { name = "user", integerLibrary = integerSimple } +userFlavour = defaultFlavour { name = "user", integerLibrary = pure integerSimple } ``` ### Specifying the final stage to build |