summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-10-11 18:09:56 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-10-11 18:34:36 +0200
commitbef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4 (patch)
tree6f7439b3f02e47ed1960a0b4d62ee4c01ef6d7af /nixos/doc
parent8417c3aae100c1a46e423804a2f6a85a82816685 (diff)
downloadnixlib-bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4.tar
nixlib-bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4.tar.gz
nixlib-bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4.tar.bz2
nixlib-bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4.tar.lz
nixlib-bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4.tar.xz
nixlib-bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4.tar.zst
nixlib-bef6bef0d2ce2ef7cfaa3e9f1eac2cdc793560c4.zip
stdenv/stripHash: print to stdout, not to variable
`stripHash` documentation states that it prints out the stripped name to
the stdout, but the function stored the value in `strippedName`
instead.

Basically all usages did something like
`$(stripHash $foo | echo $strippedName)` which is just braindamaged.
Fixed the implementation and all invocations.
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/release-notes/rl-1703.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1703.xml b/nixos/doc/manual/release-notes/rl-1703.xml
index c1107977db79..34cdf9c02118 100644
--- a/nixos/doc/manual/release-notes/rl-1703.xml
+++ b/nixos/doc/manual/release-notes/rl-1703.xml
@@ -50,6 +50,14 @@ following incompatible changes:</para>
       which prevents ptracing non-child processes.
       This means you will not be able to attach gdb to an existing process,
       but will need to start that process from gdb (so it is a child).
+  </listitem>
+
+  <listitem>
+    <para>
+      The <literal>stripHash</literal> bash function in <literal>stdenv</literal>
+      changed according to its documentation; it now outputs the stripped name to
+      <literal>stdout</literal> instead of putting it in the variable
+      <literal>strippedName</literal>.
     </para>
   </listitem>
 </itemizedlist>