Skip to content

Commit 8e6ca22

Browse files
authored
Merge pull request #2770 from jdonszelmann/fix-nix
fix Nix setup description
2 parents 578f05c + 11313e0 commit 8e6ca22

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/building/suggested.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ You can then use that rust2 folder as a separate workspace for modifying and bui
426426

427427
Several nix configurations are defined in `src/tools/nix-dev-shell`.
428428

429-
If you're using direnv, you can create a symbol link to `src/tools/nix-dev-shell/envrc-flake` or `src/tools/nix-dev-shell/envrc-shell`
429+
If you're using direnv, you can create a symbolic link to `src/tools/nix-dev-shell/envrc-flake` or `src/tools/nix-dev-shell/envrc-shell`
430430

431431
```bash
432432
ln -s ./src/tools/nix-dev-shell/envrc-flake ./.envrc # Use flake
@@ -436,6 +436,12 @@ or
436436
ln -s ./src/tools/nix-dev-shell/envrc-shell ./.envrc # Use nix-shell
437437
```
438438

439+
If you're using the flake, make sure to also update it with the following command:
440+
441+
```
442+
nix flake update --flake ./src/tools/nix-dev-shell
443+
```
444+
439445
### Note
440446

441447
Note that when using nix on a not-NixOS distribution, it may be necessary to set

0 commit comments

Comments
 (0)