From 23669eccf2d553d985b206ffb195ab6bff321d77 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Mon, 21 Oct 2024 10:25:50 +0800 Subject: [PATCH] rl-2411.section.md: update to inform the removal of (buildPythonPackage { ... }).overrideDerivation Clean up the leftover of commit 58bfe7412308 ("buildPython*: Deprecate and remove (buildPython* { ... }).override") (cherry picked from commit b4e9f423f494dce9f506916cea13c885ae92e595) --- nixos/doc/manual/release-notes/rl-2411.section.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 6fce4f2a04dc..0256e07ca436 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -213,8 +213,9 @@ - The NVIDIA driver no longer defaults to the proprietary kernel module with versions >= 560. You will need to manually set `hardware.nvidia.open` to select the proprietary or open modules. -- The `(buildPythonPackage { ... }).override` attribute is now deprecated and removed in favour of `overridePythonAttrs`. +- The `(buildPythonPackage { ... }).override` and `(buildPythonPackage { ... }).overrideDerivation` attributes is now deprecated and removed in favour of `overridePythonAttrs` and `lib.overrideDerivation`. This change does not affect the override interface of most Python packages, as [`.override`](https://nixos.org/manual/nixpkgs/unstable/#sec-pkg-override) provided by `callPackage` shadows such a locally-defined `override` attribute. + The `.overrideDerivation` attribute of Python packages called with `callPackage` will also remain available after this change. - All Cinnamon and XApp packages have been moved to top-level (i.e., `cinnamon.nemo` is now `nemo`).