rl-2511.section.md: document buildEnv's supporting finalAttrs and <pkg>.overridAttrs
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user