Linux/nix-tips-and-tricks.md
... ...
@@ -14,6 +14,10 @@ nix profile add nixpkgs#package-name
14 14
15 15
## Run a command
16 16
17
+```bash
18
+nix-shell -p hello --run "hello"
19
+```
20
+
17 21
If using flakes:
18 22
19 23
```bash