nixos manual: fix references to obsolete nixos repository

This commit is contained in:
Evgeny Egorochkin 2013-10-27 08:53:47 +02:00
parent 9cb699f587
commit 5580abd60a

View File

@ -30,12 +30,11 @@ or
$ mkdir -p <replaceable>/my/sources</replaceable> $ mkdir -p <replaceable>/my/sources</replaceable>
$ cd <replaceable>/my/sources</replaceable> $ cd <replaceable>/my/sources</replaceable>
$ nix-env -i git $ nix-env -i git
$ git clone git://github.com/NixOS/nixos.git
$ git clone git://github.com/NixOS/nixpkgs.git $ git clone git://github.com/NixOS/nixpkgs.git
</screen> </screen>
This will check out the latest NixOS sources to This will check out the latest NixOS sources to
<filename><replaceable>/my/sources</replaceable>/nixos</filename> and <filename><replaceable>/my/sources</replaceable>/nixpkgs/nixos</filename> and
the Nixpkgs sources to the Nixpkgs sources to
<filename><replaceable>/my/sources</replaceable>/nixpkgs</filename>. <filename><replaceable>/my/sources</replaceable>/nixpkgs</filename>.
If you want to rebuild your system using your (modified) sources, you If you want to rebuild your system using your (modified) sources, you
@ -43,7 +42,7 @@ need to tell <command>nixos-rebuild</command> about them using the
<option>-I</option> flag: <option>-I</option> flag:
<screen> <screen>
$ nixos-rebuild switch -I <replaceable>/my/sources</replaceable> $ nixos-rebuild switch -I <replaceable>/my/sources</replaceable>/nixpkgs
</screen> </screen>
</para> </para>