Skip to content

Commit f87f3a5

Browse files
authored
docs: nicer Nix installation (#216)
1 parent 2032d6c commit f87f3a5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ brew install spr
2424

2525
#### Using Nix
2626

27+
spr is available in nixpkgs
28+
2729
```shell
28-
nix-channel --update && nix-env -i spr
30+
nix run nixpkgs#spr
2931
```
3032

3133
#### Using Cargo

docs/user/installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ brew install spr
1010

1111
### Using Nix
1212

13+
spr is available in nixpkgs
14+
1315
```shell
14-
nix-channel --update && nix-env -i spr
16+
nix run nixpkgs#spr
1517
```
1618

1719
### Using Cargo

0 commit comments

Comments
 (0)