summaryrefslogtreecommitdiffstats
path: root/doc/contributing
diff options
context:
space:
mode:
Diffstat (limited to 'doc/contributing')
-rw-r--r--doc/contributing/submitting-changes.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/contributing/submitting-changes.xml b/doc/contributing/submitting-changes.xml
index f09711624117..0a652aef9232 100644
--- a/doc/contributing/submitting-changes.xml
+++ b/doc/contributing/submitting-changes.xml
@@ -298,14 +298,17 @@ Additional information.
<para>
review changes from pull request number 12345:
-<screen>nix-shell -p nix-review --run "nix-review pr 12345"</screen>
+<screen>nix run nixpkgs.nix-review -c nix-review pr 12345</screen>
</para>
<para>
review uncommitted changes:
-<screen>nix-shell -p nix-review --run "nix-review wip"</screen>
+<screen>nix run nixpkgs.nix-review -c nix-review wip</screen>
</para>
- </section>
+
+ <para>
+ review changes from last commit:
+<screen>nix run nixpkgs.nix-review -c nix-review rev HEAD</screen>
<section xml:id="submitting-changes-tested-execution">
<title>Tested execution of all binary files (usually in <filename>./result/bin/</filename>)</title>