about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-12-29 21:14:16 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-12-30 22:42:15 -0500
commita98e68676dc96e9021d9bb0a9f210ac1a35d368b (patch)
tree2e85157bfd968689e9086e0174be5e4b993f7c39 /nixos/doc
parent8a434b625dc07e0f1e4f39ef6bb1219ab9c58953 (diff)
downloadnixlib-a98e68676dc96e9021d9bb0a9f210ac1a35d368b.tar
nixlib-a98e68676dc96e9021d9bb0a9f210ac1a35d368b.tar.gz
nixlib-a98e68676dc96e9021d9bb0a9f210ac1a35d368b.tar.bz2
nixlib-a98e68676dc96e9021d9bb0a9f210ac1a35d368b.tar.lz
nixlib-a98e68676dc96e9021d9bb0a9f210ac1a35d368b.tar.xz
nixlib-a98e68676dc96e9021d9bb0a9f210ac1a35d368b.tar.zst
nixlib-a98e68676dc96e9021d9bb0a9f210ac1a35d368b.zip
doc: Breaking change release not for dependency propagation logic
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/release-notes/rl-1803.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1803.xml b/nixos/doc/manual/release-notes/rl-1803.xml
index 971d88e8a9c6..b58796d33282 100644
--- a/nixos/doc/manual/release-notes/rl-1803.xml
+++ b/nixos/doc/manual/release-notes/rl-1803.xml
@@ -103,6 +103,18 @@ following incompatible changes:</para>
       Other more obscure ones are just moved.
     </para>
   </listitem>
+  <listitem>
+    <para>
+      The propagation logic has been changed.
+      The new logic, along with new types of dependencies that go with, is thoroughly documented in the "Specifying dependencies" section of the "Standard Environment" chapter of the nixpkgs manual.
+      <!-- That's <xref linkend="ssec-stdenv-attributes"> were we to merge the manuals. -->
+      The old logic isn't but is easy to describe: dependencies were propagated as the same type of dependency no matter what.
+      In practice, that means that many <function>propagatedNativeBuildInputs</function> should instead be  <function>propagatedBuildInputs</function>.
+      Thankfully, that was and is the least used type of dependency.
+      Also, it means that some <function>propagatedBuildInputs</function> should instead be <function>depsTargetTargetPropagated</function>.
+      Other types dependencies should be unaffected.
+    </para>
+  </listitem>
 </itemizedlist>
 
 </section>