mirror of
https://github.com/dvorka/hstr.git
synced 2024-09-20 06:46:13 +08:00
update Nix installation instructions (#512)
We should avoid recommending nix-env as it will often lead to undesirable behaviour (e.g. name collisions), especially on NixOS. Read more here: https://stop-using-nix-env.privatevoid.net/
This commit is contained in:
parent
4dca4c72d7
commit
4e02bd81bf
|
@ -263,7 +263,7 @@ sudo port install hstr
|
||||||
To install HSTR using the [nix package manager](https://nixos.org/nix/) e.g. on [NixOS](https://nixos.org/) you can use the [nix derivation for HSTR](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/hstr/default.nix):
|
To install HSTR using the [nix package manager](https://nixos.org/nix/) e.g. on [NixOS](https://nixos.org/) you can use the [nix derivation for HSTR](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/hstr/default.nix):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix-env -i hstr
|
nix profile install nixpkgs#hstr
|
||||||
```
|
```
|
||||||
|
|
||||||
[Configure](CONFIGURATION.md) HSTR and check its [man page](README.md#documentation).
|
[Configure](CONFIGURATION.md) HSTR and check its [man page](README.md#documentation).
|
||||||
|
|
Loading…
Reference in a new issue