diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-23 14:28:05 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-23 18:27:20 +0200 |
commit | 802150f987e720452920a3d1993c3b4b36861116 (patch) | |
tree | 25deb10e810a2b3e92ce82af72e39140226b1388 /doc/manual/command-ref/nix-channel.xml | |
parent | ee051084723333fc5889c604c829669800e8b43c (diff) |
<replaceable> -> <emphasis>
Pandoc doesn't know <replaceable> so let's force it to be rendered as
italics.
Diffstat (limited to 'doc/manual/command-ref/nix-channel.xml')
-rw-r--r-- | doc/manual/command-ref/nix-channel.xml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/manual/command-ref/nix-channel.xml b/doc/manual/command-ref/nix-channel.xml index ebcf56aff..2abeca0a0 100644 --- a/doc/manual/command-ref/nix-channel.xml +++ b/doc/manual/command-ref/nix-channel.xml @@ -20,11 +20,11 @@ <cmdsynopsis> <command>nix-channel</command> <group choice='req'> - <arg choice='plain'><option>--add</option> <replaceable>url</replaceable> <arg choice='opt'><replaceable>name</replaceable></arg></arg> - <arg choice='plain'><option>--remove</option> <replaceable>name</replaceable></arg> + <arg choice='plain'><option>--add</option> <emphasis>url</emphasis> <arg choice='opt'><emphasis>name</emphasis></arg></arg> + <arg choice='plain'><option>--remove</option> <emphasis>name</emphasis></arg> <arg choice='plain'><option>--list</option></arg> - <arg choice='plain'><option>--update</option> <arg rep='repeat'><replaceable>names</replaceable></arg></arg> - <arg choice='plain'><option>--rollback</option> <arg choice='opt'><replaceable>generation</replaceable></arg></arg> + <arg choice='plain'><option>--update</option> <arg rep='repeat'><emphasis>names</emphasis></arg></arg> + <arg choice='plain'><option>--rollback</option> <arg choice='opt'><emphasis>generation</emphasis></arg></arg> </group> </cmdsynopsis> </refsynopsisdiv> @@ -44,22 +44,22 @@ xlink:href="https://nixos.org/channels" />.</para> <variablelist> - <varlistentry><term><option>--add</option> <replaceable>url</replaceable> [<replaceable>name</replaceable>]</term> + <varlistentry><term><option>--add</option> <emphasis>url</emphasis> [<emphasis>name</emphasis>]</term> <listitem><para>Adds a channel named - <replaceable>name</replaceable> with URL - <replaceable>url</replaceable> to the list of subscribed channels. - If <replaceable>name</replaceable> is omitted, it defaults to the - last component of <replaceable>url</replaceable>, with the + <emphasis>name</emphasis> with URL + <emphasis>url</emphasis> to the list of subscribed channels. + If <emphasis>name</emphasis> is omitted, it defaults to the + last component of <emphasis>url</emphasis>, with the suffixes <literal>-stable</literal> or <literal>-unstable</literal> removed.</para></listitem> </varlistentry> - <varlistentry><term><option>--remove</option> <replaceable>name</replaceable></term> + <varlistentry><term><option>--remove</option> <emphasis>name</emphasis></term> <listitem><para>Removes the channel named - <replaceable>name</replaceable> from the list of subscribed + <emphasis>name</emphasis> from the list of subscribed channels.</para></listitem> </varlistentry> @@ -71,18 +71,18 @@ xlink:href="https://nixos.org/channels" />.</para> </varlistentry> - <varlistentry><term><option>--update</option> [<replaceable>names</replaceable>…]</term> + <varlistentry><term><option>--update</option> [<emphasis>names</emphasis>…]</term> <listitem><para>Downloads the Nix expressions of all subscribed channels (or only those included in - <replaceable>names</replaceable> if specified) and makes them the + <emphasis>names</emphasis> if specified) and makes them the default for <command>nix-env</command> operations (by symlinking them from the directory <filename>~/.nix-defexpr</filename>).</para></listitem> </varlistentry> - <varlistentry><term><option>--rollback</option> [<replaceable>generation</replaceable>]</term> + <varlistentry><term><option>--rollback</option> [<emphasis>generation</emphasis>]</term> <listitem><para>Reverts the previous call to <command>nix-channel --update</command>. Optionally, you can specify a specific channel @@ -130,7 +130,7 @@ $ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' <variablelist> - <varlistentry><term><filename>/nix/var/nix/profiles/per-user/<replaceable>username</replaceable>/channels</filename></term> + <varlistentry><term><filename>/nix/var/nix/profiles/per-user/<emphasis>username</emphasis>/channels</filename></term> <listitem><para><command>nix-channel</command> uses a <command>nix-env</command> profile to keep track of previous @@ -145,7 +145,7 @@ $ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' <varlistentry><term><filename>~/.nix-defexpr/channels</filename></term> <listitem><para>This is a symlink to - <filename>/nix/var/nix/profiles/per-user/<replaceable>username</replaceable>/channels</filename>. It + <filename>/nix/var/nix/profiles/per-user/<emphasis>username</emphasis>/channels</filename>. It ensures that <command>nix-env</command> can find your channels. In a multi-user installation, you may also have <filename>~/.nix-defexpr/channels_root</filename>, which links to |