diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-10-17 12:53:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-17 12:53:42 +0200 |
commit | ab4dd1d78306c58cb9ee1fa5009ef18b67e26314 (patch) | |
tree | 976bd40980b5d37be91d95933192a067fa1e5561 /doc/manual/command-ref | |
parent | 906d56a96b442d4dd8f924c1ce0d1eec0e214af3 (diff) | |
parent | 41f38fbb4b89dc5df244a07410724beca2e14d96 (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.xml | 4 |
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 <nixpkgs> {}).lib.nixpkgsVersion' +$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' "14.04.527.0e935f1" $ nix-channel --rollback switching from generation 483 to 482 -$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion' +$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' "14.04.526.dbadfad" </screen> |