diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-19 12:30:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 12:30:09 +0100 |
commit | 15ed4137e27fd503ee2937630a768c40966a1bd4 (patch) | |
tree | 941731a176ab33c179499ca7cb09d9b0321ecda7 | |
parent | c4d3674de670f668fea36143d7d0c1fb697feafa (diff) | |
parent | 762febafe2694e7e1b2276181c7ec5564fca0b85 (diff) |
Merge pull request #3359 from bhipple/doc/pure-eval
doc: mention how to turn on pure evaluation mode in manual
-rw-r--r-- | doc/manual/release-notes/rl-2.0.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual/release-notes/rl-2.0.xml b/doc/manual/release-notes/rl-2.0.xml index fc9a77b08..bf6a679a1 100644 --- a/doc/manual/release-notes/rl-2.0.xml +++ b/doc/manual/release-notes/rl-2.0.xml @@ -503,14 +503,14 @@ </listitem> <listitem> - <para><emphasis>Pure evaluation mode</emphasis>. This is a variant - of the existing restricted evaluation mode. In pure mode, the Nix - evaluator forbids access to anything that could cause different - evaluations of the same command line arguments to produce a + <para><emphasis>Pure evaluation mode</emphasis>. With the + <literal>--pure-eval</literal> flag, nix enables a variant of the existing + restricted evaluation mode that forbids access to anything that could cause + different evaluations of the same command line arguments to produce a different result. This includes builtin functions such as <function>builtins.getEnv</function>, but more importantly, - <emphasis>all</emphasis> filesystem or network access unless a - content hash or commit hash is specified. For example, calls to + <emphasis>all</emphasis> filesystem or network access unless a content hash + or commit hash is specified. For example, calls to <function>builtins.fetchGit</function> are only allowed if a <varname>rev</varname> attribute is specified.</para> |