about summary refs log tree commit diff
path: root/src/nix/run.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-19T19·38+0100
committerEelco Dolstra <edolstra@gmail.com>2018-02-19T19·38+0100
commit70eb64147e073a0a7cf1d44af6815cfd4f8d507f (patch)
treedba5f62e4dc9d85dbed215075917ea2b6f8fd79a /src/nix/run.cc
parenta6c0b773b72d4e30690e01f1f1dcffc28f2d9ea1 (diff)
Update release notes
Also add some examples to nix --help.
Diffstat (limited to '')
-rw-r--r--src/nix/run.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index ade87e63a49c..822654daf488 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -85,6 +85,10 @@ struct CmdRun : InstallablesCommand
                 "To run GNU Hello:",
                 "nix run nixpkgs.hello -c hello --greeting 'Hi everybody!'"
             },
+            Example{
+                "To run GNU Hello in a chroot store:",
+                "nix run --store ~/my-nix nixpkgs.hello -c hello"
+            },
         };
     }