summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorHongbo <hehongbo@mail.com>2025-07-27 18:50:25 +0800
committerHongbo <hehongbo@mail.com>2025-08-04 02:08:10 +0800
commitf92169c861c2fa389a15623569165d76fc78622f (patch)
tree0a785fc5928a2babb7fcf785099ca5510ead6693 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent63ba1c64e697b6dc48754ea62aeaa8c33d04c0f5 (diff)
grub2: refactor platforms logic, avoid abusing `meta.broken`
Previously, we used `platforms.gnu` and `platforms.linux` for Grub2's available platforms, but blocking unsupported platforms via asserts. An attempt has been made through marking unsupported platforms "broken" for EFI, but it would be better if we just document the supported platforms in `meta.platforms` in the first place. Also, the Grub2 package already has platform support for PC/EFI/Xen, which deserves to be restructured in a unified way. Regarding `meta.broken`, it shouldn't be used on invalid combinations of arguments, as it will cause misunderstandings. Changes have been made: - Remove `meta.broken`, along with the 3 conditions in it. - Remove `canEfi`, chain `efiSystemsBuild` on `meta.platform` if `pkgs.grub2_efi` is asked (building with `efiSupport = true;`) - Avoid reusing `efiSystemsBuild` for Xen (PV), build a dedicated `xenSystemsBuild` for Xen, and chain that into `meta.platforms` in the same format. - Revert the other 2 conditions (building with invalid arguments) back to asserts. Signed-off-by: Hongbo <hehongbo@mail.com>
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions