summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/release-notes
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2023-01-25 16:24:28 +0100
committerUlrik Strid <ulrik.strid@outlook.com>2023-02-03 08:59:34 +0100
commitf12b9ea461c3a5c75df219b08f17f9a7856894ae (patch)
tree2332f868ace8aa413abaec134d8adaa6f261b25d /nixos/doc/manual/from_md/release-notes
parent376e9ceeadc4c4e06f34b33bf347a504a4b3bd65 (diff)
downloadnixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.gz
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.bz2
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.lz
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.xz
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.tar.zst
nixpkgs-f12b9ea461c3a5c75df219b08f17f9a7856894ae.zip
buildDunePackage: default to strictDeps = true
Diffstat (limited to 'nixos/doc/manual/from_md/release-notes')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2305.section.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
index b8affabb864..e8fdcf82f66 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
@@ -189,7 +189,22 @@
           <literal>doInstallCheck</literal> is set. (Note that this
           change will not cause breakage to derivations with
           <literal>strictDeps</literal> unset, which are most packages
-          except python, rust and go packages).
+          except python, rust, ocaml and go packages).
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          <literal>buildDunePackage</literal> now defaults to
+          <literal>strictDeps = true</literal> which means that any
+          library should go into <literal>buildInputs</literal> or
+          <literal>checkInputs</literal>. Any executable that is run on
+          the building machine should go into
+          <literal>nativeBuildInputs</literal> or
+          <literal>nativeCheckInputs</literal> respectively. Example of
+          executables are <literal>ocaml</literal>,
+          <literal>findlib</literal> and <literal>menhir</literal>. PPXs
+          are libraries which are built by dune and should therefore not
+          go into <literal>nativeBuildInputs</literal>.
         </para>
       </listitem>
       <listitem>