libressl: mark badPlatform on powerpc64le

OpenBSD believes that PowerPC should be always-big-endian; this
assumption seems to have propagated into recent releases of
libressl.  Since libressl is aliased to many other packages
(e.g. netcat) it's important to fail early here, otherwise it's very
difficult to figure out why libressl is getting dragged into a
failing build.
This commit is contained in:
Adam Joseph 2023-11-19 14:40:29 -08:00 committed by Adam Joseph
parent 9b4c306d98
commit 8900543eb9

View File

@ -87,6 +87,15 @@ let
platforms = platforms.all;
maintainers = with maintainers; [ thoughtpolice fpletz ];
inherit knownVulnerabilities;
# OpenBSD believes that PowerPC should be always-big-endian;
# this assumption seems to have propagated into recent
# releases of libressl. Since libressl is aliased to many
# other packages (e.g. netcat) it's important to fail early
# here, otherwise it's very difficult to figure out why
# libressl is getting dragged into a failing build.
badPlatforms = with lib.systems.inspect.patterns;
[ (lib.recursiveUpdate isPower64 isLittleEndian) ];
};
};