diff options
author | Profpatsch <mail@profpatsch.de> | 2018-04-03 14:04:05 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2018-04-27 18:59:39 +0200 |
commit | 900cec79a0aaf0628f855ec71d0ecf3145a67d3e (patch) | |
tree | b489c9e6021669097dc49873d3c5f73197b94fe1 /nixos | |
parent | 21b87a7bdb31f19812e0f989cc9e0304a9972e32 (diff) | |
download | nixpkgs-900cec79a0aaf0628f855ec71d0ecf3145a67d3e.tar nixpkgs-900cec79a0aaf0628f855ec71d0ecf3145a67d3e.tar.gz nixpkgs-900cec79a0aaf0628f855ec71d0ecf3145a67d3e.tar.bz2 nixpkgs-900cec79a0aaf0628f855ec71d0ecf3145a67d3e.tar.lz nixpkgs-900cec79a0aaf0628f855ec71d0ecf3145a67d3e.tar.xz nixpkgs-900cec79a0aaf0628f855ec71d0ecf3145a67d3e.tar.zst nixpkgs-900cec79a0aaf0628f855ec71d0ecf3145a67d3e.zip |
lib/debug: add replacement instructions & release notes
for every deprecated function.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1809.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml index 61f9ec8ba99..2e53f0563ba 100644 --- a/nixos/doc/manual/release-notes/rl-1809.xml +++ b/nixos/doc/manual/release-notes/rl-1809.xml @@ -58,6 +58,11 @@ following incompatible changes:</para> <itemizedlist> <listitem> <para> + <literal>lib.strict</literal> is removed. Use <literal>builtins.seq</literal> instead. + </para> + </listitem> + <listitem> + <para> The <literal>clementine</literal> package points now to the free derivation. <literal>clementineFree</literal> is removed now and <literal>clementineUnfree</literal> points to the package which is bundled with the unfree <literal>libspotify</literal> package. @@ -77,6 +82,46 @@ following incompatible changes:</para> <itemizedlist> <listitem> <para> + <literal>lib.attrNamesToStr</literal> has been deprecated. Use + more specific concatenation (<literal>lib.concat(Map)StringsSep</literal>) + instead. + </para> + </listitem> + <listitem> + <para> + <literal>lib.addErrorContextToAttrs</literal> has been deprecated. Use + <literal>builtins.addErrorContext</literal> directly. + </para> + </listitem> + <listitem> + <para> + <literal>lib.showVal</literal> has been deprecated. Use + <literal>lib.traceSeqN</literal> instead. + </para> + </listitem> + <listitem> + <para> + <literal>lib.traceXMLVal</literal> has been deprecated. Use + <literal>lib.traceValFn builtins.toXml</literal> instead. + </para> + </listitem> + <listitem> + <para> + <literal>lib.traceXMLValMarked</literal> has been deprecated. Use + <literal>lib.traceValFn (x: str + builtins.toXML x)</literal> instead. + </para> + </listitem> + <listitem> + <para> + <literal>lib.traceValIfNot</literal> has been deprecated. Use + <literal>if/then/else</literal> and <literal>lib.traceValSeq</literal> + instead. + </para> + </listitem> + <listitem> + <para> + <literal>lib.traceCallXml</literal> has been deprecated. Please complain + if you use the function regularly. </para> </listitem> </itemizedlist> |