diff options
Diffstat (limited to 'nixos/doc/manual/from_md/release-notes/rl-2305.section.xml')
-rw-r--r-- | nixos/doc/manual/from_md/release-notes/rl-2305.section.xml | 17 |
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 b8affabb86475..e8fdcf82f664b 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> |