Skip to content

Commit 70ad620

Browse files
committed
Merge branch 'stable'
2 parents 844df52 + 62dae99 commit 70ad620

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
@@ -93,10 +93,16 @@ setting Stack's configuration option
9393
[`notify-if-nix-on-path`](../configure/yaml/non-project.md#notify-if-nix-on-path)
9494
to `false`.
9595

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

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

0 commit comments

Comments
 (0)