From 3b82db18813dbb9e30d3ef05a31a0680275bd188 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Tue, 12 Aug 2025 07:53:21 +0800 Subject: [PATCH] rl-2511.section.md: document buildEnv's supporting finalAttrs and .overridAttrs --- doc/release-notes/rl-2511.section.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/release-notes/rl-2511.section.md b/doc/release-notes/rl-2511.section.md index baa6daea1584..fb4d34dd8ce6 100644 --- a/doc/release-notes/rl-2511.section.md +++ b/doc/release-notes/rl-2511.section.md @@ -324,6 +324,13 @@ and [release notes for v18](https://goteleport.com/docs/changelog/#1800-070325). +- `buildEnv` now takes fixed-point arguments (`finalAttrs: { }`). + The custom overrider `.override` is deprecated but kept in this release. It will be removed in future releases after tree-wide transition. + The argument `paths` is passed as `passthru.paths` to avoid bringing in unexpected context. + +- `buildEnv` now takes `derivationArgs` for additional arguments to pass to `stdenv.mkDerivation`. + A compatibility layer is added for directly-specified arguments `nativeBuildInputs` and `buildInputs`. + - Added `rewriteURL` attribute to the nixpkgs `config`, to allow for rewriting the URLs downloaded by `fetchurl`. - Added `hashedMirrors` attribute to the nixpkgs `config`, to allow for customization of the hashed mirrors used by `fetchurl`.