python3Packages.buildPythonPackage: default to __structuredAttrs = true

This commit is contained in:
Robert Schütz
2026-07-20 14:03:45 -07:00
committed by Martin Weinelt
parent 6c1818a6b4
commit ab9132bd87
2 changed files with 5 additions and 1 deletions

View File

@@ -134,6 +134,8 @@
- `nix-serve-ng` (and `haskellPackages.nix-serve-ng`) is now built against Lix instead of CppNix, following upstream which has switched to Lix as its supported Nix implementation.
- `buildPythonPackage` and `buildPythonApplication` now set `__structuredAttrs = true` by default. You can explicitly set `__structuredAttrs = false` in packages broken by this change.
- Linux kernel configuration has been moved out of the `linux-kernel` field of the platform structure into the kernel builders:
- `linux-kernel.name` has been removed.
- `linux-kernel.target` is available as the `target` parameter and passthru attribute on the kernel builders.

View File

@@ -207,6 +207,8 @@ lib.extendMkDerivation {
doCheck ? true,
__structuredAttrs ? true,
...
}@attrs:
@@ -387,7 +389,7 @@ lib.extendMkDerivation {
python
];
inherit strictDeps;
inherit __structuredAttrs strictDeps;
env = {
LANG = "${if python.stdenv.hostPlatform.isDarwin then "en_US" else "C"}.UTF-8";