diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-11 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-21 16:42:10 +0100 |
commit | d26caea94ba77b9bfe127aafe2d9a48b181189e4 (patch) | |
tree | feddae24ee9a83fe7e2805a1a66883e2aee2c757 /nixos | |
parent | b7042dc36ab6f812068a59c0dd9fb459841a93f4 (diff) |
doc: adapt to nativeCheckInputs
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/from_md/release-notes/rl-2305.section.xml | 24 | ||||
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2305.section.md | 2 |
2 files changed, 26 insertions, 0 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 6cafb6dd421f8..d5afcac8556d0 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 @@ -148,6 +148,30 @@ </listitem> <listitem> <para> + <literal>checkInputs</literal> have been renamed to + <literal>nativeCheckInputs</literal>, because they behave the + same as <literal>nativeBuildInputs</literal> when + <literal>doCheck</literal> is set. + <literal>checkInputs</literal> now denote a new type of + dependencies, added to <literal>buildInputs</literal> when + <literal>doCheck</literal> is set. As a rule of thumb, + <literal>nativeCheckInputs</literal> are tools on + <literal>$PATH</literal> used during the tests, and + <literal>checkInputs</literal> are libraries which are linked + to executables built as part of the tests. Similarly, + <literal>installCheckInputs</literal> are renamed to + <literal>nativeInstallCheckInputs</literal>, corresponding to + <literal>nativeBuildInputs</literal>, and + <literal>installCheckInputs</literal> are a new type of + dependencies added to <literal>buildInputs</literal> when + <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). + </para> + </listitem> + <listitem> + <para> <literal>borgbackup</literal> module now has an option for inhibiting system sleep while backups are running, defaulting to off (not inhibiting sleep), available as diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md index 8c25eae455889..74e048beb245e 100644 --- a/nixos/doc/manual/release-notes/rl-2305.section.md +++ b/nixos/doc/manual/release-notes/rl-2305.section.md @@ -48,6 +48,8 @@ In addition to numerous new and upgraded packages, this release has the followin - `carnix` and `cratesIO` has been removed due to being unmaintained, use alternatives such as [naersk](https://github.com/nix-community/naersk) and [crate2nix](https://github.com/kolloch/crate2nix) instead. +- `checkInputs` have been renamed to `nativeCheckInputs`, because they behave the same as `nativeBuildInputs` when `doCheck` is set. `checkInputs` now denote a new type of dependencies, added to `buildInputs` when `doCheck` is set. As a rule of thumb, `nativeCheckInputs` are tools on `$PATH` used during the tests, and `checkInputs` are libraries which are linked to executables built as part of the tests. Similarly, `installCheckInputs` are renamed to `nativeInstallCheckInputs`, corresponding to `nativeBuildInputs`, and `installCheckInputs` are a new type of dependencies added to `buildInputs` when `doInstallCheck` is set. (Note that this change will not cause breakage to derivations with `strictDeps` unset, which are most packages except python, rust and go packages). + - `borgbackup` module now has an option for inhibiting system sleep while backups are running, defaulting to off (not inhibiting sleep), available as [`services.borgbackup.jobs.<name>.inhibitsSleep`](#opt-services.borgbackup.jobs._name_.inhibitsSleep). - `podman` now uses the `netavark` network stack. Users will need to delete all of their local containers, images, volumes, etc, by running `podman system reset --force` once before upgrading their systems. |