add nix-shell command option
This commit is contained in:
parent
7c6174cc53
commit
191e603aa2
1 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,10 @@ nix profile add nixpkgs#package-name
|
|||
|
||||
## Run a command
|
||||
|
||||
```bash
|
||||
nix-shell -p hello --run "hello"
|
||||
```
|
||||
|
||||
If using flakes:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue