rl-2511.section.md: document buildEnv's supporting finalAttrs and <pkg>.overridAttrs

This commit is contained in:
Yueh-Shun Li
2026-03-19 13:17:19 -07:00
committed by Philip Taron
parent 3182567271
commit 3b82db1881
+7
View File
@@ -324,6 +324,13 @@ and [release notes for v18](https://goteleport.com/docs/changelog/#1800-070325).
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
- `buildEnv` now takes fixed-point arguments (`finalAttrs: { }`).
The custom overrider `<env-pkg>.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`.