Merge pull request #488 from nix-community/nix-env

README: drop nix-env installation
This commit is contained in:
Jörg Thalheim 2024-04-23 14:05:53 +02:00 committed by GitHub
commit 3ddcd73aba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,25 +109,6 @@ other available options are:
</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>
<summary>With `nix profile`</summary>