release-lib: build packages without `meta.platforms` on all platforms

This was added in <https://github.com/NixOS/nixpkgs/pull/19990> to
ensure that packages that previously weren’t building at all would
get at least one platform’s worth of coverage. However, since most
`runCommand` calls don’t explicitly set any `meta` information,
this meant that things like `tests.makeWrapper` were only being
run for `x86_64-linux`. Since most trivial builder calls should
work on all platforms, it doesn’t make much sense for them to be
restricted in this way, and we shouldn’t unnecessarily penalize
other platforms by treating an empty `meta.platforms` inconsistently
with `check-meta`’s maximally‐permissive interpretation. Actual
packages that only work on a subset of platforms should, of course,
set `meta.platforms` explicitly.

Emily f28cc72d bf054e51

+1 -1
+1 -1
pkgs/top-level/release-lib.nix
··· 169 169 if isDerivation value then 170 170 value.meta.hydraPlatforms 171 171 or (subtractLists (value.meta.badPlatforms or []) 172 - (value.meta.platforms or [ "x86_64-linux" ])) 172 + (value.meta.platforms or supportedSystems)) 173 173 else if value.recurseForDerivations or false || value.recurseForRelease or false then 174 174 packagePlatforms value 175 175 else