Commit 6dae133f authored by Sebastian Graf's avatar Sebastian Graf Committed by Marge Bot

Update user-settings.md with a pointer to `Packages`

[skip ci]
parent f0cd728f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment