summary refs log tree commit diff
path: root/nixos/doc/manual/release-notes/rl-2003.xml
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-10-29 19:43:34 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-01 22:03:47 +0000
commit9df7efe0c6bf936240d2cc83b57331c1c565ad01 (patch)
tree5a360318d4ec3e827f79ea1d4ec1b2658c20eb6d /nixos/doc/manual/release-notes/rl-2003.xml
parent373236ccfffe7053b1503a8992ddff7ebae3ed6f (diff)
downloadnixpkgs-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar
nixpkgs-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.gz
nixpkgs-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.bz2
nixpkgs-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.lz
nixpkgs-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.xz
nixpkgs-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.zst
nixpkgs-9df7efe0c6bf936240d2cc83b57331c1c565ad01.zip
stdenv: Don't stop `set -u`-ing
Before, we very carefully unapplied and reapplied `set -u` so the rest
of Nixpkgs could continue to not fail on undefined variables. Let's rip
off the band-aid.
Diffstat (limited to 'nixos/doc/manual/release-notes/rl-2003.xml')
-rw-r--r--nixos/doc/manual/release-notes/rl-2003.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml
index f001a18b1c1..3e6a5d6d6fa 100644
--- a/nixos/doc/manual/release-notes/rl-2003.xml
+++ b/nixos/doc/manual/release-notes/rl-2003.xml
@@ -125,6 +125,13 @@
       <link linkend="opt-networking.interfaces">networking.interfaces.&lt;name&gt;.…</link> options.
     </para>
    </listitem>
+   <listitem>
+    <para>
+      The stdenv now runs all bash with <literal>set -u</literal>, to catch the use of undefined variables.
+      Before, it itself used <literal>set -u</literal> but was careful to unset it so other packages' code ran as before.
+      Now, all bash code is held to the same high standard, and the rather complex stateful manipulation of the options can be discarded.
+    </para>
+   </listitem>
   </itemizedlist>
  </section>