diff --git a/nixos/doc/manual/development.xml b/nixos/doc/manual/development.xml
index dbaa2c4213d9..775143cc8351 100644
--- a/nixos/doc/manual/development.xml
+++ b/nixos/doc/manual/development.xml
@@ -30,12 +30,11 @@ or
$ mkdir -p /my/sources
$ cd /my/sources
$ nix-env -i git
-$ git clone git://github.com/NixOS/nixos.git
$ git clone git://github.com/NixOS/nixpkgs.git
This will check out the latest NixOS sources to
-/my/sources/nixos and
+/my/sources/nixpkgs/nixos and
the Nixpkgs sources to
/my/sources/nixpkgs.
If you want to rebuild your system using your (modified) sources, you
@@ -43,7 +42,7 @@ need to tell nixos-rebuild about them using the
flag:
-$ nixos-rebuild switch -I /my/sources
+$ nixos-rebuild switch -I /my/sources/nixpkgs