mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
nixos manual: fix references to obsolete nixos repository
This commit is contained in:
parent
9cb699f587
commit
5580abd60a
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user