Skip to content

Commit

Permalink
Merge pull request NixOS#2291 from Taneb/master
Browse files Browse the repository at this point in the history
nix-channel documentation: don't suggest deprecated function
  • Loading branch information
edolstra committed Oct 17, 2019
2 parents 906d56a + 41f38fb commit ab4dd1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/command-ref/nix-channel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ $ nix-env -iA nixpkgs.hello</screen>
<para>You can revert channel updates using <option>--rollback</option>:</para>

<screen>
$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.nixpkgsVersion'
$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.version'
"14.04.527.0e935f1"

$ nix-channel --rollback
switching from generation 483 to 482

$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.nixpkgsVersion'
$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.version'
"14.04.526.dbadfad"
</screen>

Expand Down

0 comments on commit ab4dd1d

Please sign in to comment.