File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -447,14 +447,17 @@ Remember above when `stack new` selected some
447
447
our build plan and available packages. When we tried using the ` text ` package,
448
448
it just worked, because it was part of the LTS * package set* .
449
449
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.
451
453
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:
454
457
455
458
``` yaml
456
459
extra-deps :
457
- - acme-missiles-0.3 # not in the LTS
460
+ - acme-missiles-0.3 # not in the LTS resolver
458
461
` ` `
459
462
460
463
Now ` stack build` will succeed.
You can’t perform that action at this time.
0 commit comments