Skip to content

Commit 094512d

Browse files
committed
Fix nix-env example in README
1 parent 3380f16 commit 094512d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can put the code below into your `~/.config/nixpkgs/overlays.nix`.
2828
```
2929
Then the provided attribute paths are available in nix command.
3030
```bash
31-
$ nix-env -iA rust-bin.stable.latest.default # Do anything you like.
31+
$ nix-env -iA nixpkgs.rust-bin.stable.latest.default # `nixpkgs` (or `nixos`) is your nixpkgs channel name.
3232
```
3333

3434
Alternatively, you can install it into nix channels.

0 commit comments

Comments
 (0)