From 191e603aa29f0c11c9e706058e5248b5a89f383d Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Sun, 22 Feb 2026 12:03:12 -0700 Subject: [PATCH] add nix-shell command option --- Linux/nix-tips-and-tricks.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Linux/nix-tips-and-tricks.md b/Linux/nix-tips-and-tricks.md index 2a88177..73270c2 100644 --- a/Linux/nix-tips-and-tricks.md +++ b/Linux/nix-tips-and-tricks.md @@ -14,6 +14,10 @@ nix profile add nixpkgs#package-name ## Run a command +```bash +nix-shell -p hello --run "hello" +``` + If using flakes: ```bash