diff options
Diffstat (limited to 'doc/manual/src/command-ref/nix-channel.md')
-rw-r--r-- | doc/manual/src/command-ref/nix-channel.md | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/doc/manual/src/command-ref/nix-channel.md b/doc/manual/src/command-ref/nix-channel.md index 0c20788f0..6b4bd2459 100644 --- a/doc/manual/src/command-ref/nix-channel.md +++ b/doc/manual/src/command-ref/nix-channel.md @@ -1,34 +1,12 @@ -nix-channel +Title: nix-channel -1 +# Name -Nix +`nix-channel` - manage Nix channels -nix-channel +# Synopsis -manage Nix channels - -nix-channel - -\--add - -url - -name - -\--remove - -name - -\--list - -\--update - -names - -\--rollback - -generation +`nix-channel` {`--add` url [*name*] | `--remove` *name* | `--list` | `--update` [*names…*] | `--rollback` [*generation*] } # Description @@ -82,10 +60,10 @@ You can revert channel updates using `--rollback`: $ 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.version' "14.04.526.dbadfad" |