aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/command-ref
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-10-17 12:53:42 +0200
committerGitHub <noreply@github.com>2019-10-17 12:53:42 +0200
commitab4dd1d78306c58cb9ee1fa5009ef18b67e26314 (patch)
tree976bd40980b5d37be91d95933192a067fa1e5561 /doc/manual/command-ref
parent906d56a96b442d4dd8f924c1ce0d1eec0e214af3 (diff)
parent41f38fbb4b89dc5df244a07410724beca2e14d96 (diff)
Merge pull request #2291 from Taneb/master
nix-channel documentation: don't suggest deprecated function
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r--doc/manual/command-ref/nix-channel.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/command-ref/nix-channel.xml b/doc/manual/command-ref/nix-channel.xml
index 5a2866e6b..9fea59167 100644
--- a/doc/manual/command-ref/nix-channel.xml
+++ b/doc/manual/command-ref/nix-channel.xml
@@ -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>