diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-07-24 21:26:05 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-07-24 21:27:39 -0700 |
commit | 4a032b19fc663d96e4a2e499cdd720e6bd87012b (patch) | |
tree | 2e7af17df7c74a17baf54e3e02ba0e83bef6a2a1 | |
parent | 8c9caf3387b451b32c5fbe4c241602a38f27f7b2 (diff) | |
download | nixpkgs-4a032b19fc663d96e4a2e499cdd720e6bd87012b.tar nixpkgs-4a032b19fc663d96e4a2e499cdd720e6bd87012b.tar.gz nixpkgs-4a032b19fc663d96e4a2e499cdd720e6bd87012b.tar.bz2 nixpkgs-4a032b19fc663d96e4a2e499cdd720e6bd87012b.tar.lz nixpkgs-4a032b19fc663d96e4a2e499cdd720e6bd87012b.tar.xz nixpkgs-4a032b19fc663d96e4a2e499cdd720e6bd87012b.tar.zst nixpkgs-4a032b19fc663d96e4a2e499cdd720e6bd87012b.zip |
boost: move isMips64n32 from meta.broken to meta.badPlatforms
Presence in meta.badPlatforms can be tested with lib.meta.availableOn, but meta.broken cannot. I use this to compile as much of my routers' userspace as possible for Mips64n32, and to automatically detect the few binaries (mostly those which use boost) cannot and build those for Mips64n64.
-rw-r--r-- | pkgs/development/libraries/boost/generic.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index cad0f3aaed6..27419a049a7 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -141,13 +141,11 @@ stdenv.mkDerivation { description = "Collection of C++ libraries"; license = licenses.boost; platforms = platforms.unix ++ platforms.windows; + # boost-context lacks support for the N32 ABI on mips64. The build + # will succeed, but packages depending on boost-context will fail with + # a very cryptic error message. + badPlatforms = [ lib.systems.inspect.patterns.isMips64n32 ]; maintainers = with maintainers; [ hjones2199 ]; - - broken = - # boost-context lacks support for the N32 ABI on mips64. The build - # will succeed, but packages depending on boost-context will fail with - # a very cryptic error message. - stdenv.hostPlatform.isMips64n32; }; passthru = { |