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/installation | |
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/installation')
-rw-r--r-- | doc/manual/installation/building-source.xml | 10 | ||||
-rw-r--r-- | doc/manual/installation/env-variables.xml | 6 | ||||
-rw-r--r-- | doc/manual/installation/installing-binary.xml | 2 | ||||
-rw-r--r-- | doc/manual/installation/single-user.xml | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/doc/manual/installation/building-source.xml b/doc/manual/installation/building-source.xml index 772cda9cc..469aaebe9 100644 --- a/doc/manual/installation/building-source.xml +++ b/doc/manual/installation/building-source.xml @@ -10,7 +10,7 @@ following commands: <screen> -$ ./configure <replaceable>options...</replaceable> +$ ./configure <emphasis>options...</emphasis> $ make $ make install</screen> @@ -26,16 +26,16 @@ $ ./bootstrap.sh</screen> </para> <para>The installation path can be specified by passing the -<option>--prefix=<replaceable>prefix</replaceable></option> to +<option>--prefix=<emphasis>prefix</emphasis></option> to <command>configure</command>. The default installation directory is <filename>/usr/local</filename>. You can change this to any location you like. You must have write permission to the -<replaceable>prefix</replaceable> path.</para> +<emphasis>prefix</emphasis> path.</para> <para>Nix keeps its <emphasis>store</emphasis> (the place where packages are stored) in <filename>/nix/store</filename> by default. This can be changed using -<option>--with-store-dir=<replaceable>path</replaceable></option>.</para> +<option>--with-store-dir=<emphasis>path</emphasis></option>.</para> <warning><para>It is best <emphasis>not</emphasis> to change the Nix store from its default, since doing so makes it impossible to use @@ -44,6 +44,6 @@ packages will need to be built from source.</para></warning> <para>Nix keeps state (such as its database and log files) in <filename>/nix/var</filename> by default. This can be changed using -<option>--localstatedir=<replaceable>path</replaceable></option>.</para> +<option>--localstatedir=<emphasis>path</emphasis></option>.</para> </section> diff --git a/doc/manual/installation/env-variables.xml b/doc/manual/installation/env-variables.xml index 436f15f31..cbce8559a 100644 --- a/doc/manual/installation/env-variables.xml +++ b/doc/manual/installation/env-variables.xml @@ -8,18 +8,18 @@ <para>To use Nix, some environment variables should be set. In particular, <literal>PATH</literal> should contain the directories -<filename><replaceable>prefix</replaceable>/bin</filename> and +<filename><emphasis>prefix</emphasis>/bin</filename> and <filename>~/.nix-profile/bin</filename>. The first directory contains the Nix tools themselves, while <filename>~/.nix-profile</filename> is a symbolic link to the current <emphasis>user environment</emphasis> (an automatically generated package consisting of symlinks to installed packages). The simplest way to set the required environment variables is to include the file -<filename><replaceable>prefix</replaceable>/etc/profile.d/nix.sh</filename> +<filename><emphasis>prefix</emphasis>/etc/profile.d/nix.sh</filename> in your <filename>~/.profile</filename> (or similar), like this:</para> <screen> -source <replaceable>prefix</replaceable>/etc/profile.d/nix.sh</screen> +source <emphasis>prefix</emphasis>/etc/profile.d/nix.sh</screen> <section xml:id="sec-nix-ssl-cert-file"> diff --git a/doc/manual/installation/installing-binary.xml b/doc/manual/installation/installing-binary.xml index ad47ce8b9..439198e6c 100644 --- a/doc/manual/installation/installing-binary.xml +++ b/doc/manual/installation/installing-binary.xml @@ -421,7 +421,7 @@ LABEL=Nix\040Store /nix apfs rw,nobrowse <para> NixOS.org hosts version-specific installation URLs for all Nix versions since 1.11.16, at - <literal>https://releases.nixos.org/nix/nix-<replaceable>version</replaceable>/install</literal>. + <literal>https://releases.nixos.org/nix/nix-<emphasis>version</emphasis>/install</literal>. </para> <para> diff --git a/doc/manual/installation/single-user.xml b/doc/manual/installation/single-user.xml index 09cdaa5d4..e9a761af3 100644 --- a/doc/manual/installation/single-user.xml +++ b/doc/manual/installation/single-user.xml @@ -7,9 +7,9 @@ <title>Single-User Mode</title> <para>In single-user mode, all Nix operations that access the database -in <filename><replaceable>prefix</replaceable>/var/nix/db</filename> +in <filename><emphasis>prefix</emphasis>/var/nix/db</filename> or modify the Nix store in -<filename><replaceable>prefix</replaceable>/store</filename> must be +<filename><emphasis>prefix</emphasis>/store</filename> must be performed under the user ID that owns those directories. This is typically <systemitem class="username">root</systemitem>. (If you install from RPM packages, that’s in fact the default ownership.) |