Skip to content

Commit b669e57

Browse files
committed
Merge branch 'hs211216-patch-1' into stable
2 parents 28afcec + 9a212a2 commit b669e57

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/GUIDE.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,14 +447,17 @@ Remember above when `stack new` selected some
447447
our build plan and available packages. When we tried using the `text` package,
448448
it just worked, because it was part of the LTS *package set*.
449449

450-
But `acme-missiles` is not part of that package set, so building failed.
450+
We've specified the `acme-missiles` package in the `package.yaml` file (see
451+
above), but `acme-missiles` is not part of that LTS package set, so building
452+
failed.
451453

452-
To add this new dependency, we'll use the `extra-deps` field in `stack.yaml` to
453-
define extra dependencies not present in the resolver. You can add this like so:
454+
To add `acme-missles` to the available packages, we'll use the `extra-deps`
455+
field in the `stack.yaml` file. That field defines extra packages, not present
456+
in the resolver, that will be needed as dependencies. You can add this like so:
454457

455458
```yaml
456459
extra-deps:
457-
- acme-missiles-0.3 # not in the LTS
460+
- acme-missiles-0.3 # not in the LTS resolver
458461
```
459462
460463
Now `stack build` will succeed.

0 commit comments

Comments
 (0)