diff options
author | Ulrik Strid <ulrik.strid@outlook.com> | 2023-01-25 16:24:28 +0100 |
---|---|---|
committer | Ulrik Strid <ulrik.strid@outlook.com> | 2023-02-03 08:59:34 +0100 |
commit | f12b9ea461c3a5c75df219b08f17f9a7856894ae (patch) | |
tree | 2332f868ace8aa413abaec134d8adaa6f261b25d /nixos/doc/manual/from_md/release-notes | |
parent | 376e9ceeadc4c4e06f34b33bf347a504a4b3bd65 (diff) |
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.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> |