Skip to content

Commit 62dae99

Browse files
committed
Improve Nix integration documentation
1 parent 0ce2060 commit 62dae99

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

doc/topics/nix_integration.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,16 @@ setting Stack's configuration option
9292
[`notify-if-nix-on-path`](../configure/yaml/non-project.md#notify-if-nix-on-path)
9393
to `false`.
9494

95-
With Nix integration enabled, `stack build` and `stack exec` will automatically
96-
launch themselves in a local build environment (using `nix-shell` behind the
97-
scenes). It is not necessary to run `stack setup`, unless you want to cache a
98-
GHC installation before running a build.
95+
If Nix integration is enabled:
96+
97+
* `stack build` and `stack exec` automatically launch themselves in a local
98+
build environment (using `nix-shell`). It is not necessary to run
99+
`stack setup`, unless you want to cache a GHC installation before running a
100+
build; and
101+
102+
* [`system-ghc: true`](../configure/yaml/non-project.md#system-ghc) is implied.
103+
([`install-ghc: false`](../configure/yaml/non-project.md#install-ghc) is not
104+
implied.)
99105

100106
**Known limitation on macOS:** currently, `stack --nix ghci` fails on macOS, due
101107
to a bug in GHCi when working with external shared libraries.

0 commit comments

Comments
 (0)