diff --git a/nixos/doc/manual/contributing-to-this-manual.xml b/nixos/doc/manual/contributing-to-this-manual.xml
index 9820e75fc337..935dd66bc141 100644
--- a/nixos/doc/manual/contributing-to-this-manual.xml
+++ b/nixos/doc/manual/contributing-to-this-manual.xml
@@ -12,7 +12,7 @@ xlink:href="https://github.com/NixOS/nixpkgs">Nixpkgs repository.
You can quickly check your edits with the following:
-$ cd /path/to/nixpkgs/nixos/doc/manual
+$ cd /path/to/nixpkgs
$ nix-build nixos/release.nix -A manual.x86_64-linux