Skip to content

Commit 3349f02

Browse files
committed
Add a note about using extra-lib-dirs / extra-include-dirs in config.yaml
1 parent b1ab8ce commit 3349f02

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/yaml_configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,13 @@ extra-lib-dirs:
400400
- /opt/foo/lib
401401
```
402402

403+
Since these are system-dependent absolute paths, it is recommended that you
404+
specify these in your `config.yaml` within the stack root (usually, `~/.stack`).
405+
If you control the build environment in your project's ``stack.yaml``, perhaps
406+
through docker or other means, then it may well make sense to include these
407+
there as well.
408+
409+
403410
### with-gcc
404411

405412
Specify a path to gcc explicitly, rather than relying on the normal path resolution.

0 commit comments

Comments
 (0)