Skip to content

Commit 2b3d21b

Browse files
committed
Add cross-references to documentation
1 parent 8240421 commit 2b3d21b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/configure/yaml/non-project.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,10 @@ build with this compiler depends on such global packages because Stack may not
433433
be able to find versions of those packages (on Hackage, etc.) that are
434434
compatible with the compiler.
435435

436-
The easiest way to deal with this issue is to drop the offending packages as
437-
follows. Instead of using the packages specified in the snapshot, the global
438-
packages bundled with GHC will be used.
436+
The easiest way to deal with this issue is to use the
437+
[`drop-packages`](project.md#drop-packages) project-specific configuration
438+
option to drop the offending packages as follows. Instead of using the packages
439+
specified in the snapshot, the global packages bundled with GHC will be used.
439440

440441
~~~yaml
441442
drop-packages:
@@ -444,8 +445,9 @@ drop-packages:
444445
~~~
445446

446447
Another way to deal with this issue is to add the relevant packages as
447-
`extra-deps` built from source. To avoid mismatching versions, you can use
448-
exactly the same commit id you used to build GHC as follows:
448+
[`extra-deps`](project.md#extra-deps) built from source. To avoid mismatching
449+
versions, you can use exactly the same commit id you used to build GHC as
450+
follows:
449451

450452
~~~
451453
extra-deps:

0 commit comments

Comments
 (0)