mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
rl-2505.section.md: add entries about buildPython*'s __structuredAttrs support
This commit is contained in:
parent
8be69aee96
commit
4fae2f59ee
1 changed files with 12 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
- The default Elixir version has been updated to 1.18.
|
- The default Elixir version has been updated to 1.18.
|
||||||
|
|
||||||
|
- `buildPythonPackage`, `buildPythonApplication` and the Python building setup hooks now support both `__structuredAttrs = true` and `__structuredAttrs = false`.
|
||||||
|
|
||||||
- `services.dex` now restarts upon changes to the `.environmentFile` or entries in `.settings.staticClients[].secretFile` when the entry is a `path` type.
|
- `services.dex` now restarts upon changes to the `.environmentFile` or entries in `.settings.staticClients[].secretFile` when the entry is a `path` type.
|
||||||
|
|
||||||
- `nixos-rebuild-ng`, a full rewrite of `nixos-rebuild` in Python, is available for testing. You can enable it by setting [system.rebuild.enableNg](options.html#opt-system.rebuild.enableNg) in your configuration (this will replace the old `nixos-rebuild`), or by adding `nixos-rebuild-ng` to your `environment.systemPackages` (in this case, it will live side-by-side with `nixos-rebuild` as `nixos-rebuild-ng`). It is expected that the next major version of NixOS (25.11) will enable `system.rebuild.enableNg` by default.
|
- `nixos-rebuild-ng`, a full rewrite of `nixos-rebuild` in Python, is available for testing. You can enable it by setting [system.rebuild.enableNg](options.html#opt-system.rebuild.enableNg) in your configuration (this will replace the old `nixos-rebuild`), or by adding `nixos-rebuild-ng` to your `environment.systemPackages` (in this case, it will live side-by-side with `nixos-rebuild` as `nixos-rebuild-ng`). It is expected that the next major version of NixOS (25.11) will enable `system.rebuild.enableNg` by default.
|
||||||
|
@ -120,6 +122,16 @@
|
||||||
instead of the python tester launcher. You can still refer to the python
|
instead of the python tester launcher. You can still refer to the python
|
||||||
launcher via `python3Packages.toPythonApplication python3Packages.playwright`
|
launcher via `python3Packages.toPythonApplication python3Packages.playwright`
|
||||||
|
|
||||||
|
- The representation of the flags attributes as shell/environment variables for most Python building setup hooks are now the same as `stdenv.mkDerivation` and other build helpers -- they are space-separated environment variables when `__structuredAttrs = false` and Bash arrays when `__structuredAttrs = true`, and are concatenated to the command without Bash-evaluation. The following behaviour changes are introduced during the conversion:
|
||||||
|
|
||||||
|
- The following flags are no longer Bash-expanded before concatenated to the command:
|
||||||
|
- `disabledTests` and `disabledTestPaths` for `pytestCheckHook`. (`disabledTestPaths` used to be expanded twice before concatenation.)
|
||||||
|
- `setupPyBuildFlags` and `setupPyGlobalFlags` for `setuptoolsBuildHook`.
|
||||||
|
|
||||||
|
- `pytestFlags` and `unittestFlags` replace `pytestFlagsArray` and `unittestFlagsArray` and become the new and conforming interface.
|
||||||
|
|
||||||
|
- `pytestFlagsArray` and `unittestFlagsArray` are kept for compatibility purposes. They continue to be Bash-expanded before concatenated. This compatibility layer will be removed in future releases.
|
||||||
|
|
||||||
- `strawberry` has been updated to 1.2, which drops support for the VLC backend and Qt 5. The `strawberry-qt5` package
|
- `strawberry` has been updated to 1.2, which drops support for the VLC backend and Qt 5. The `strawberry-qt5` package
|
||||||
and `withGstreamer`/`withVlc` override options have been removed due to this.
|
and `withGstreamer`/`withVlc` override options have been removed due to this.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue