summary refs log tree commit diff
path: root/nixos/doc/manual/man-nixos-rebuild.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/doc/manual/man-nixos-rebuild.xml')
-rw-r--r--nixos/doc/manual/man-nixos-rebuild.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml
index e08153c723d9..afc159dbd5d7 100644
--- a/nixos/doc/manual/man-nixos-rebuild.xml
+++ b/nixos/doc/manual/man-nixos-rebuild.xml
@@ -106,7 +106,7 @@ desired operation.  It must be one of the following:
       points to the output of the top-level “system” derivation.  This
       is essentially the same as doing
 <screen>
-$ nix-build /etc/nixos/nixos -A system
+$ nix-build /path/to/nixpkgs/nixos -A system
 </screen>
       Note that you do not need to be <literal>root</literal> to run
       <command>nixos-rebuild build</command>.</para>