mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
drop nix-env variant
This commit is contained in:
parent
57f831e2e4
commit
490e46b6ce
1 changed files with 0 additions and 19 deletions
19
README.md
19
README.md
|
|
@ -109,25 +109,6 @@ other available options are:
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>With `nix-env`</summary>
|
|
||||||
|
|
||||||
### With `nix-env`
|
|
||||||
|
|
||||||
As **non-root** user do the following:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
nix-env -f '<nixpkgs>' -iA nix-direnv
|
|
||||||
```
|
|
||||||
|
|
||||||
Then add nix-direnv to `$HOME/.config/direnv/direnvrc`:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
source $HOME/.nix-profile/share/nix-direnv/direnvrc
|
|
||||||
```
|
|
||||||
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>With `nix profile`</summary>
|
<summary>With `nix profile`</summary>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue