diff options
| author | Wolfgang Walther <walther@technowledgy.de> | 2024-11-16 22:58:09 +0100 |
|---|---|---|
| committer | Wolfgang Walther <walther@technowledgy.de> | 2024-11-25 18:46:07 +0100 |
| commit | d37f90a2b3ca3716e9297478e2a6827798ffd7cf (patch) | |
| tree | 595f2e94421078fdd7462880dafe6cb1bb772ee8 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 5bff902d5ec322f8ad238c48a050f43a7b5f32cd (diff) | |
stdenv.mkDerivation: support output checks with structuredAttrs
Once __structuredAttrs are enabled, nix only supports
disallowedReferences and friends inside the outputChecks attribute set,
defined specifically for each output.
Top-level disallowedReferences, as used throughout nixpkgs without
structuredAttrs, throws a warning instead:
warning: In a derivation named 'perl-5.40.0', 'structuredAttrs'
disables the effect of the derivation attribute
'disallowedReferences'; use
'outputChecks.<output>.disallowedReferences' instead
To support a seamless migration to enabling structuredAttrs by default,
those derivation attributes are now mapped to each output separately
when structuredAttrs are enabled.
Since both top-level disallowedReferences and outputChecks can be given
at the same time, those are now merged together. One package that can be
simplified this way is neovim, because all checks should be applied to
all outputs anyway.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
