Skip to content

Commit f6a25cf

Browse files
docs: clarify optional nix-direnv integration
1 parent 1456934 commit f6a25cf

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ for your operating system from the
99

1010
## Nix Development Environment
1111

12-
The repository flake provides Roc, the Rust toolchain and cross-compilation
12+
The repository flake provides Roc nightly, the Rust toolchain and cross-compilation
1313
standard libraries, Zig, Python, and the documentation preview server on
1414
supported Linux and macOS systems. Enter it with:
1515

1616
```sh
1717
nix develop
1818
```
1919

20-
Alternatively, install both [`direnv`](https://direnv.net/) and
21-
[`nix-direnv`](https://github.com/nix-community/nix-direnv), then approve the
22-
checked-in `.envrc` once:
20+
To load the shell automatically, install [`direnv`](https://direnv.net/) and
21+
hook it into your shell. The checked-in `.envrc` uses direnv's `use flake`;
22+
install [`nix-direnv`](https://github.com/nix-community/nix-direnv) as well if
23+
your direnv version does not provide it. Then approve `.envrc` once:
2324

2425
```sh
2526
direnv allow

0 commit comments

Comments
 (0)