* Instead of — use the actual Unicode character. By the way, to
edit the manual, you should have something like (modify-coding-system-alist 'file "\\.xml\\>" 'utf-8) in your ~/.emacs.
This commit is contained in:
parent
692204e0c5
commit
2cd590d96c
3 changed files with 15 additions and 15 deletions
|
@ -171,10 +171,10 @@
|
||||||
<quote>live</quote> store paths, which are all the store
|
<quote>live</quote> store paths, which are all the store
|
||||||
paths reachable from a set of <quote>root</quote> store
|
paths reachable from a set of <quote>root</quote> store
|
||||||
expressions read from standard input. Live paths should
|
expressions read from standard input. Live paths should
|
||||||
never be deleted, since that would break consistency
|
never be deleted, since that would break consistency —
|
||||||
— it would become possible that applications are
|
it would become possible that applications are installed
|
||||||
installed that reference things that are no longer
|
that reference things that are no longer present in the
|
||||||
present in the store.
|
store.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<para>This chapter discusses how to do package management with Nix,
|
<para>This chapter discusses how to do package management with Nix,
|
||||||
i.e., how to obtain, install, upgrade, and erase components. This is
|
i.e., how to obtain, install, upgrade, and erase components. This is
|
||||||
the <quote>user's</quote> perspective of the Nix system — people
|
the <quote>user's</quote> perspective of the Nix system — people
|
||||||
who want to <emphasis>create</emphasis> components should consult
|
who want to <emphasis>create</emphasis> components should consult
|
||||||
<xref linkend='chap-writing-nix-expressions' />.</para>
|
<xref linkend='chap-writing-nix-expressions' />.</para>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ available for installation.</para>
|
||||||
on the set of installed applications. That is, there might be lots of
|
on the set of installed applications. That is, there might be lots of
|
||||||
applications present on the system (possibly in many different
|
applications present on the system (possibly in many different
|
||||||
versions), but users can have a specific selection of those
|
versions), but users can have a specific selection of those
|
||||||
active — where <quote>active</quote> just means that it appears
|
active — where <quote>active</quote> just means that it appears
|
||||||
in a directory in the user's <envar>PATH</envar>.</para>
|
in a directory in the user's <envar>PATH</envar>.</para>
|
||||||
|
|
||||||
<para>Such a view on the set of installed applications is called a
|
<para>Such a view on the set of installed applications is called a
|
||||||
|
@ -95,11 +95,11 @@ url='http://subversion.tigris.org/'>Subversion version management
|
||||||
system</ulink>).</para>
|
system</ulink>).</para>
|
||||||
|
|
||||||
<para>When you do this for the first time, Nix will start building
|
<para>When you do this for the first time, Nix will start building
|
||||||
Subversion and all its dependencies. This will take quite a while
|
Subversion and all its dependencies. This will take quite a while —
|
||||||
— typically an hour or two on modern machines. Fortunately,
|
typically an hour or two on modern machines. Fortunately, there is a
|
||||||
there is a faster way (so just do a Ctrl-C on that install
|
faster way (so just do a Ctrl-C on that install operation!): you just
|
||||||
operation!): you just need to tell Nix that pre-built binaries of all
|
need to tell Nix that pre-built binaries of all those components are
|
||||||
those components are available somewhere. This is done using the
|
available somewhere. This is done using the
|
||||||
<command>nix-pull</command> command, which must be supplied with a URL
|
<command>nix-pull</command> command, which must be supplied with a URL
|
||||||
containing a <emphasis>manifest</emphasis> describing what binaries
|
containing a <emphasis>manifest</emphasis> describing what binaries
|
||||||
are available. This URL should correspond to the Nix Packages release
|
are available. This URL should correspond to the Nix Packages release
|
||||||
|
@ -137,7 +137,7 @@ defined by some pretty much arbitrary rules regarding ordering of
|
||||||
version numbers (which generally do what you'd expect of them). To
|
version numbers (which generally do what you'd expect of them). To
|
||||||
just unconditionally replace Subversion with whatever version is in
|
just unconditionally replace Subversion with whatever version is in
|
||||||
the Nix expressions, use <parameter>-i</parameter> instead of
|
the Nix expressions, use <parameter>-i</parameter> instead of
|
||||||
<parameter>-u</parameter> — <parameter>-i</parameter> will
|
<parameter>-u</parameter> — <parameter>-i</parameter> will
|
||||||
remove whatever version is already installed.</para>
|
remove whatever version is already installed.</para>
|
||||||
|
|
||||||
<para>You can also upgrade all components for which there are newer
|
<para>You can also upgrade all components for which there are newer
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<sect1><title>A simple Nix expression</title>
|
<sect1><title>A simple Nix expression</title>
|
||||||
|
|
||||||
<para>This section shows how to write simple Nix expressions—the
|
<para>This section shows how to write simple Nix expressions — the
|
||||||
things that describe how to build a package.</para>
|
things that describe how to build a package.</para>
|
||||||
|
|
||||||
<example id='ex-hello-nix'><title>Nix expression for GNU Hello</title>
|
<example id='ex-hello-nix'><title>Nix expression for GNU Hello</title>
|
||||||
|
@ -139,8 +139,8 @@ must not be null and it must have been built using the same instance
|
||||||
of the <varname>expat</varname> library as was passed to the
|
of the <varname>expat</varname> library as was passed to the
|
||||||
Subversion expression. This is since the Subversion code is
|
Subversion expression. This is since the Subversion code is
|
||||||
dynamically linked against the Apache code and they both use Expat,
|
dynamically linked against the Apache code and they both use Expat,
|
||||||
they must be linked against the same instance—otherwise a
|
they must be linked against the same instance — otherwise a conflict
|
||||||
conflict might occur.</para>
|
might occur.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue