diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-10-29 19:43:34 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-01 22:03:47 +0000 |
commit | 9df7efe0c6bf936240d2cc83b57331c1c565ad01 (patch) | |
tree | 5a360318d4ec3e827f79ea1d4ec1b2658c20eb6d /nixos | |
parent | 373236ccfffe7053b1503a8992ddff7ebae3ed6f (diff) | |
download | nixlib-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar nixlib-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.gz nixlib-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.bz2 nixlib-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.lz nixlib-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.xz nixlib-9df7efe0c6bf936240d2cc83b57331c1c565ad01.tar.zst nixlib-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')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2003.xml | 7 |
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 f001a18b1c1f..3e6a5d6d6fa5 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.<name>.…</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> |