diff options
Diffstat (limited to 'doc/manual/release-notes')
-rw-r--r-- | doc/manual/release-notes/rl-0.10.xml | 16 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-0.12.xml | 16 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-0.13.xml | 4 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-0.16.xml | 8 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-0.6.xml | 8 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-0.8.xml | 4 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-1.1.xml | 4 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-1.11.xml | 8 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-1.2.xml | 2 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-1.4.xml | 4 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-1.6.1.xml | 8 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-1.7.xml | 12 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-1.8.xml | 4 | ||||
-rw-r--r-- | doc/manual/release-notes/rl-2.0.xml | 12 |
14 files changed, 55 insertions, 55 deletions
diff --git a/doc/manual/release-notes/rl-0.10.xml b/doc/manual/release-notes/rl-0.10.xml index 9b4233546..01f70acfd 100644 --- a/doc/manual/release-notes/rl-0.10.xml +++ b/doc/manual/release-notes/rl-0.10.xml @@ -46,9 +46,9 @@ irreversible.</para></warning> <literal>\*</literal>.</para></listitem> <listitem><para><literal>nix-env -i - <replaceable>pkgname</replaceable></literal> will now install + <emphasis>pkgname</emphasis></literal> will now install the highest available version of - <replaceable>pkgname</replaceable>, rather than installing all + <emphasis>pkgname</emphasis>, rather than installing all available versions (which would probably give collisions) (<literal>NIX-31</literal>).</para></listitem> @@ -85,7 +85,7 @@ irreversible.</para></warning> "--with-freetype2-library=${freetype}/lib"</programlisting> You can write arbitrary expressions within - <literal>${<replaceable>...</replaceable>}</literal>, not just + <literal>${<emphasis>...</emphasis>}</literal>, not just identifiers.</para></listitem> <listitem><para>Multi-line string literals.</para></listitem> @@ -163,7 +163,7 @@ irreversible.</para></warning> attribute set are unique.) For instance, a quick way to perform a test build of a package in Nixpkgs is <literal>nix-build pkgs/top-level/all-packages.nix -A - <replaceable>foo</replaceable></literal>. <literal>nix-env -q + <emphasis>foo</emphasis></literal>. <literal>nix-env -q --attr</literal> shows the attribute names corresponding to each derivation.</para></listitem> @@ -173,13 +173,13 @@ irreversible.</para></warning> <command>nix-build</command> evaluates to a function whose arguments all have default values, the function will be called automatically. Also, the new command-line switch <option>--arg - <replaceable>name</replaceable> - <replaceable>value</replaceable></option> can be used to specify + <emphasis>name</emphasis> + <emphasis>value</emphasis></option> can be used to specify function arguments on the command line.</para></listitem> <listitem><para><literal>nix-install-package --url - <replaceable>URL</replaceable></literal> allows a package to be + <emphasis>URL</emphasis></literal> allows a package to be installed directly from the given URL.</para></listitem> @@ -192,7 +192,7 @@ irreversible.</para></warning> <listitem><para><literal>nix-build -o - <replaceable>symlink</replaceable></literal> allows the symlink to + <emphasis>symlink</emphasis></literal> allows the symlink to the build result to be named something other than <literal>result</literal>.</para></listitem> diff --git a/doc/manual/release-notes/rl-0.12.xml b/doc/manual/release-notes/rl-0.12.xml index 18978ac4b..c30124786 100644 --- a/doc/manual/release-notes/rl-0.12.xml +++ b/doc/manual/release-notes/rl-0.12.xml @@ -59,17 +59,17 @@ $ rm __db* log.* derivers references referrers reserved validpaths DB_CONFIG</sc <listitem><para>The garbage collector has a number of new options to allow only some of the garbage to be deleted. The option - <option>--max-freed <replaceable>N</replaceable></option> tells the - collector to stop after at least <replaceable>N</replaceable> bytes + <option>--max-freed <emphasis>N</emphasis></option> tells the + collector to stop after at least <emphasis>N</emphasis> bytes have been deleted. The option <option>--max-links - <replaceable>N</replaceable></option> tells it to stop after the + <emphasis>N</emphasis></option> tells it to stop after the link count on <filename>/nix/store</filename> has dropped below - <replaceable>N</replaceable>. This is useful for very large Nix + <emphasis>N</emphasis>. This is useful for very large Nix stores on filesystems with a 32000 subdirectories limit (like <literal>ext3</literal>). The option <option>--use-atime</option> causes store paths to be deleted in order of ascending last access time. This allows non-recently used stuff to be deleted. The - option <option>--max-atime <replaceable>time</replaceable></option> + option <option>--max-atime <emphasis>time</emphasis></option> specifies an upper limit to the last accessed time of paths that may be deleted. For instance, @@ -119,7 +119,7 @@ the following paths will be downloaded/copied (30.02 MiB): <listitem><para>@-patterns as in Haskell. For instance, in a function definition - <programlisting>f = args @ {x, y, z}: <replaceable>...</replaceable>;</programlisting> + <programlisting>f = args @ {x, y, z}: <emphasis>...</emphasis>;</programlisting> <varname>args</varname> refers to the argument as a whole, which is further pattern-matched against the attribute set pattern @@ -131,7 +131,7 @@ the following paths will be downloaded/copied (30.02 MiB): takes <emphasis>at least</emphasis> the listed attributes, while ignoring additional attributes. For instance, - <programlisting>{stdenv, fetchurl, fuse, ...}: <replaceable>...</replaceable></programlisting> + <programlisting>{stdenv, fetchurl, fuse, ...}: <emphasis>...</emphasis></programlisting> defines a function that accepts any attribute set that includes at least the three listed attributes.</para></listitem> @@ -163,7 +163,7 @@ the following paths will be downloaded/copied (30.02 MiB): <command>nix-pack-closure</command> and <command>nix-unpack-closure</command>. You can do almost the same thing but much more efficiently by doing <literal>nix-store --export - $(nix-store -qR <replaceable>paths</replaceable>) > closure</literal> and + $(nix-store -qR <emphasis>paths</emphasis>) > closure</literal> and <literal>nix-store --import < closure</literal>.</para></listitem> diff --git a/doc/manual/release-notes/rl-0.13.xml b/doc/manual/release-notes/rl-0.13.xml index cce2e4a26..8cb0ae9a5 100644 --- a/doc/manual/release-notes/rl-0.13.xml +++ b/doc/manual/release-notes/rl-0.13.xml @@ -95,9 +95,9 @@ features:</para> <listitem> <para>The scoping rules for <literal>inherit - (<replaceable>e</replaceable>) ...</literal> in recursive + (<emphasis>e</emphasis>) ...</literal> in recursive attribute sets have changed. The expression - <replaceable>e</replaceable> can now refer to the attributes + <emphasis>e</emphasis> can now refer to the attributes defined in the containing set.</para> </listitem> diff --git a/doc/manual/release-notes/rl-0.16.xml b/doc/manual/release-notes/rl-0.16.xml index 43b7622c6..7039d4b0b 100644 --- a/doc/manual/release-notes/rl-0.16.xml +++ b/doc/manual/release-notes/rl-0.16.xml @@ -27,14 +27,14 @@ 2</command>), but this was not desirable because the number of actions to be performed in parallel was not configurable. Nix now has an option <option>--cores - <replaceable>N</replaceable></option> as well as a configuration + <emphasis>N</emphasis></option> as well as a configuration setting <varname>build-cores = - <replaceable>N</replaceable></varname> that causes the + <emphasis>N</emphasis></varname> that causes the environment variable <literal>NIX_BUILD_CORES</literal> to be set to - <replaceable>N</replaceable> when the builder is invoked. The + <emphasis>N</emphasis> when the builder is invoked. The builder can use this at its discretion to perform a parallel build, e.g., by calling <command>make -j - <replaceable>N</replaceable></command>. In Nixpkgs, this can be + <emphasis>N</emphasis></command>. In Nixpkgs, this can be enabled on a per-package basis by setting the derivation attribute <varname>enableParallelBuilding</varname> to <literal>true</literal>. diff --git a/doc/manual/release-notes/rl-0.6.xml b/doc/manual/release-notes/rl-0.6.xml index 6dc6521d3..23fbee173 100644 --- a/doc/manual/release-notes/rl-0.6.xml +++ b/doc/manual/release-notes/rl-0.6.xml @@ -91,10 +91,10 @@ <itemizedlist> <listitem><para>New language construct: <literal>with - <replaceable>E1</replaceable>; - <replaceable>E2</replaceable></literal> brings all attributes - defined in the attribute set <replaceable>E1</replaceable> in - scope in <replaceable>E2</replaceable>.</para></listitem> + <emphasis>E1</emphasis>; + <emphasis>E2</emphasis></literal> brings all attributes + defined in the attribute set <emphasis>E1</emphasis> in + scope in <emphasis>E2</emphasis>.</para></listitem> <listitem><para>Added a <function>map</function> function.</para></listitem> diff --git a/doc/manual/release-notes/rl-0.8.xml b/doc/manual/release-notes/rl-0.8.xml index 825798fa9..1adb91a23 100644 --- a/doc/manual/release-notes/rl-0.8.xml +++ b/doc/manual/release-notes/rl-0.8.xml @@ -33,7 +33,7 @@ is too old (i.e., for Nix <= 0.7)</screen> then you should unsubscribe from the offending channel (<command>nix-channel --remove -<replaceable>URL</replaceable></command>; leave out +<emphasis>URL</emphasis></command>; leave out <literal>/MANIFEST</literal>), and subscribe to the same URL, with <literal>channels</literal> replaced by <literal>channels-v3</literal> (e.g., <link @@ -118,7 +118,7 @@ $ nix-store -q --referrers-closure \ subscribing to a channel.</para></listitem> <listitem><para><command>nix-store -r - <replaceable>PATHS</replaceable></command> now builds all the + <emphasis>PATHS</emphasis></command> now builds all the derivations PATHS in parallel. Previously it did them sequentially (though exploiting possible parallelism between subderivations). This is nice for build farms.</para></listitem> diff --git a/doc/manual/release-notes/rl-1.1.xml b/doc/manual/release-notes/rl-1.1.xml index 2f26e7a24..f7dadb7cb 100644 --- a/doc/manual/release-notes/rl-1.1.xml +++ b/doc/manual/release-notes/rl-1.1.xml @@ -72,8 +72,8 @@ to get rid of the bootstrap binaries in the Nixpkgs source tree and download them instead. You can use it by doing <literal>import <nix/fetchurl.nix> { url = - <replaceable>url</replaceable>; sha256 = - "<replaceable>hash</replaceable>"; }</literal>. (Shea Levy)</para> + <emphasis>url</emphasis>; sha256 = + "<emphasis>hash</emphasis>"; }</literal>. (Shea Levy)</para> </listitem> <listitem> diff --git a/doc/manual/release-notes/rl-1.11.xml b/doc/manual/release-notes/rl-1.11.xml index fe422dd1f..28f6d4ac8 100644 --- a/doc/manual/release-notes/rl-1.11.xml +++ b/doc/manual/release-notes/rl-1.11.xml @@ -62,8 +62,8 @@ $ nix-prefetch-url -A nix-repl.src <listitem> <para> The new flag <option>--option build-repeat - <replaceable>N</replaceable></option> will cause every build to - be executed <replaceable>N</replaceable>+1 times. If the build + <emphasis>N</emphasis></option> will cause every build to + be executed <emphasis>N</emphasis>+1 times. If the build output differs between any round, the build is rejected, and the output paths are not registered as valid. This is primarily useful to verify build determinism. (We already had a @@ -78,11 +78,11 @@ $ nix-prefetch-url -A nix-repl.src <listitem> <para> The options <option>--check</option> and <option>--option - build-repeat <replaceable>N</replaceable></option>, if they + build-repeat <emphasis>N</emphasis></option>, if they detect a difference between two runs of the same derivation and <option>-K</option> is given, will make the output of the other run available under - <filename><replaceable>store-path</replaceable>-check</filename>. This + <filename><emphasis>store-path</emphasis>-check</filename>. This makes it easier to investigate the non-determinism using tools like <command>diffoscope</command>, e.g., diff --git a/doc/manual/release-notes/rl-1.2.xml b/doc/manual/release-notes/rl-1.2.xml index 29bd5bf81..f065f3ccc 100644 --- a/doc/manual/release-notes/rl-1.2.xml +++ b/doc/manual/release-notes/rl-1.2.xml @@ -56,7 +56,7 @@ outputs = [ "lib" "headers" "doc" ]; <literal>lib</literal>, <literal>headers</literal> and <literal>doc</literal>. Other packages can refer to a specific output by referring to - <literal><replaceable>pkg</replaceable>.<replaceable>output</replaceable></literal>, + <literal><emphasis>pkg</emphasis>.<emphasis>output</emphasis></literal>, e.g. <programlisting> buildInputs = [ pkg.lib pkg.headers ]; diff --git a/doc/manual/release-notes/rl-1.4.xml b/doc/manual/release-notes/rl-1.4.xml index aefb22f2b..8114ce6b5 100644 --- a/doc/manual/release-notes/rl-1.4.xml +++ b/doc/manual/release-notes/rl-1.4.xml @@ -20,8 +20,8 @@ xlink:href="https://github.com/NixOS/nix/commit/5526a282b5b44e9296e61e07d7d2626a <function>builtins.hashString</function>.</para></listitem> <listitem><para>Build logs are now stored in - <filename>/nix/var/log/nix/drvs/<replaceable>XX</replaceable>/</filename>, - where <replaceable>XX</replaceable> is the first two characters of + <filename>/nix/var/log/nix/drvs/<emphasis>XX</emphasis>/</filename>, + where <emphasis>XX</emphasis> is the first two characters of the derivation. This is useful on machines that keep a lot of build logs (such as Hydra servers).</para></listitem> diff --git a/doc/manual/release-notes/rl-1.6.1.xml b/doc/manual/release-notes/rl-1.6.1.xml index 9ecc52734..982871b51 100644 --- a/doc/manual/release-notes/rl-1.6.1.xml +++ b/doc/manual/release-notes/rl-1.6.1.xml @@ -19,15 +19,15 @@ are:</para> <listitem> <para>Previously, Nix optimised expressions such as - <literal>"${<replaceable>expr</replaceable>}"</literal> to - <replaceable>expr</replaceable>. Thus it neither checked whether - <replaceable>expr</replaceable> could be coerced to a string, nor + <literal>"${<emphasis>expr</emphasis>}"</literal> to + <emphasis>expr</emphasis>. Thus it neither checked whether + <emphasis>expr</emphasis> could be coerced to a string, nor applied such coercions. This meant that <literal>"${123}"</literal> evaluatued to <literal>123</literal>, and <literal>"${./foo}"</literal> evaluated to <literal>./foo</literal> (even though <literal>"${./foo} "</literal> evaluates to - <literal>"/nix/store/<replaceable>hash</replaceable>-foo "</literal>). + <literal>"/nix/store/<emphasis>hash</emphasis>-foo "</literal>). Nix now checks the type of antiquoted expressions and applies coercions.</para> </listitem> diff --git a/doc/manual/release-notes/rl-1.7.xml b/doc/manual/release-notes/rl-1.7.xml index 44ecaa78d..e736c15a2 100644 --- a/doc/manual/release-notes/rl-1.7.xml +++ b/doc/manual/release-notes/rl-1.7.xml @@ -34,7 +34,7 @@ following new features:</para> <command>download-via-ssh</command>, that fetches binaries from remote machines via SSH. Specifying the flags <literal>--option use-ssh-substituter true --option ssh-substituter-hosts - <replaceable>user@hostname</replaceable></literal> will cause Nix + <emphasis>user@hostname</emphasis></literal> will cause Nix to download binaries from the specified machine, if it has them.</para> </listitem> @@ -49,9 +49,9 @@ following new features:</para> <screen> $ nix-build '<nixpkgs>' -A patchelf -<replaceable>…</replaceable> +<emphasis>…</emphasis> $ nix-build '<nixpkgs>' -A patchelf --check -<replaceable>…</replaceable> +<emphasis>…</emphasis> error: derivation `/nix/store/1ipvxs…-patchelf-0.6' may not be deterministic: hash mismatch in output `/nix/store/4pc1dm…-patchelf-0.6.drv' </screen> @@ -173,11 +173,11 @@ $ nix-instantiate --eval '<nixos>' -A 'config.systemd.units."nscd.service".te <listitem> <para><command>nix-collect-garbage</command> has a new flag <option>--delete-older-than</option> - <replaceable>N</replaceable><literal>d</literal>, which deletes + <emphasis>N</emphasis><literal>d</literal>, which deletes all user environment generations older than - <replaceable>N</replaceable> days. Likewise, <command>nix-env + <emphasis>N</emphasis> days. Likewise, <command>nix-env --delete-generations</command> accepts a - <replaceable>N</replaceable><literal>d</literal> age limit.</para> + <emphasis>N</emphasis><literal>d</literal> age limit.</para> </listitem> <listitem> diff --git a/doc/manual/release-notes/rl-1.8.xml b/doc/manual/release-notes/rl-1.8.xml index 326990774..d7e2e99ad 100644 --- a/doc/manual/release-notes/rl-1.8.xml +++ b/doc/manual/release-notes/rl-1.8.xml @@ -38,8 +38,8 @@ log-servers = http://hydra.nixos.org/log </programlisting> then it will try to get logs from -<literal>http://hydra.nixos.org/log/<replaceable>base name of the -store path</replaceable></literal>. This allows you to do things like: +<literal>http://hydra.nixos.org/log/<emphasis>base name of the +store path</emphasis></literal>. This allows you to do things like: <screen> $ nix-store -l $(which xterm) diff --git a/doc/manual/release-notes/rl-2.0.xml b/doc/manual/release-notes/rl-2.0.xml index 57acfd0ba..6bef003ca 100644 --- a/doc/manual/release-notes/rl-2.0.xml +++ b/doc/manual/release-notes/rl-2.0.xml @@ -42,7 +42,7 @@ <para>The command <command>nix-push</command> has been removed as part of the effort to eliminate Nix's dependency on Perl. You can use <command>nix copy</command> instead, e.g. <literal>nix copy - --to file:///tmp/my-binary-cache <replaceable>paths…</replaceable></literal></para> + --to file:///tmp/my-binary-cache <emphasis>paths…</emphasis></literal></para> </listitem> <listitem> @@ -136,8 +136,8 @@ http-connections 100</literal> you can write <literal>--http-connections 100</literal>. Boolean options can be written as - <literal>--<replaceable>foo</replaceable></literal> or - <literal>--no-<replaceable>foo</replaceable></literal> + <literal>--<emphasis>foo</emphasis></literal> or + <literal>--no-<emphasis>foo</emphasis></literal> (e.g. <option>--no-auto-optimise-store</option>).</para> </listitem> @@ -551,7 +551,7 @@ is still supported for compatibility, but it is also possible to specify builders in <command>nix.conf</command> by setting the option <literal>builders = - @<replaceable>path</replaceable></literal>.</para> + @<emphasis>path</emphasis></literal>.</para> </listitem> <listitem> @@ -580,9 +580,9 @@ <listitem> <para>You can now use - <uri>channel:<replaceable>channel-name</replaceable></uri> as a + <uri>channel:<emphasis>channel-name</emphasis></uri> as a short-hand for - <uri>https://nixos.org/channels/<replaceable>channel-name</replaceable>/nixexprs.tar.xz</uri>. For + <uri>https://nixos.org/channels/<emphasis>channel-name</emphasis>/nixexprs.tar.xz</uri>. For example, <literal>nix-build channel:nixos-15.09 -A hello</literal> will build the GNU Hello package from the <literal>nixos-15.09</literal> channel. In the future, this may |