mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03:00
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:
parent
9b4c306d98
commit
8900543eb9
@ -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) ];
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user