[commit: ghc] wip/T16265: Update user-settings.md with a pointer to `Packages` (6dae133)
git at git.haskell.org
git at git.haskell.org
Sun Feb 3 11:25:45 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T16265
Link : http://ghc.haskell.org/trac/ghc/changeset/6dae133fc049fe7a91414cb4ff1afe2db8e91984/ghc
>---------------------------------------------------------------
commit 6dae133fc049fe7a91414cb4ff1afe2db8e91984
Author: Sebastian Graf <sgraf1337 at gmail.com>
Date: Fri Feb 1 04:48:41 2019 -0500
Update user-settings.md with a pointer to `Packages`
[skip ci]
>---------------------------------------------------------------
6dae133fc049fe7a91414cb4ff1afe2db8e91984
hadrian/doc/user-settings.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hadrian/doc/user-settings.md b/hadrian/doc/user-settings.md
index 6c6aab7..49e560c 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
More information about the ghc-commits
mailing list