mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Clarify documentation wording
This commit is contained in:
parent
0f943a9a52
commit
bb63ffabe9
1 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ source /run/current-system/sw/share/nix-direnv/direnvrc
|
||||||
|
|
||||||
As **non-root** user do the following:
|
As **non-root** user do the following:
|
||||||
|
|
||||||
```console
|
```shell
|
||||||
nix-env -f '<nixpkgs>' -iA nix-direnv
|
nix-env -f '<nixpkgs>' -iA nix-direnv
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -171,7 +171,7 @@ as described in the installation via home-manager section.
|
||||||
|
|
||||||
## Usage example
|
## Usage example
|
||||||
|
|
||||||
Either add `shell.nix` or a `default.nix` to the same directory:
|
Either add `shell.nix` or a `default.nix` to the project directory:
|
||||||
|
|
||||||
``` nix
|
``` nix
|
||||||
# save this as shell.nix
|
# save this as shell.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue