doc: improve "getting the sources" chapter

+7 -3
+7 -3
nixos/doc/manual/development/sources.xml
··· 8 8 9 9 <para>By default, NixOS’s <command>nixos-rebuild</command> command 10 10 uses the NixOS and Nixpkgs sources provided by the 11 - <literal>nixos-unstable</literal> channel (kept in 11 + <literal>nixos</literal> channel (kept in 12 12 <filename>/nix/var/nix/profiles/per-user/root/channels/nixos</filename>). 13 13 To modify NixOS, however, you should check out the latest sources from 14 14 Git. This is as follows: ··· 41 41 $ nixos-version 42 42 17.09pre104379.6e0b727 (Hummingbird) 43 43 44 - $ git checkout -b local e3938c8 44 + $ git checkout -b local 6e0b727 45 45 </screen> 46 46 47 47 Or, to base your local branch on the latest version available in a ··· 87 87 88 88 You may want to delete the symlink 89 89 <filename>~/.nix-defexpr/channels_root</filename> to prevent root’s 90 - NixOS channel from clashing with your own tree.</para> 90 + NixOS channel from clashing with your own tree (this may break the 91 + command-not-found utility though). If you want to go back to the default 92 + state, you may just remove the <filename>~/.nix-defexpr</filename> 93 + directory completely, log out and log in again and it should have been 94 + recreated with a link to the root channels.</para> 91 95 92 96 <!-- FIXME: not sure what this means. 93 97 <para>You should not pass the base directory