treewide: clean up badPlatforms after x86_64-darwin drop (#541156)

This commit is contained in:
Heitor Augusto
2026-07-15 04:38:31 +00:00
committed by GitHub
15 changed files with 2 additions and 42 deletions
-1
View File
@@ -281,6 +281,5 @@ rustPlatform.buildRustPackage (finalAttrs: {
philocalyst
];
platforms = with lib.platforms; linux ++ darwin;
badPlatforms = [ ]; # We weren't able to get hashes here
};
})
-4
View File
@@ -93,9 +93,5 @@ stdenv.mkDerivation (finalAttrs: {
];
maintainers = with lib.maintainers; [ thoughtpolice ];
platforms = lib.platforms.all;
badPlatforms = [
# Several tests fail with:
# ==> Failed - running iverilog.
];
};
})
-3
View File
@@ -191,8 +191,5 @@ stdenvNoCC.mkDerivation (finalAttrs: {
"x86_64-linux"
"aarch64-darwin"
];
badPlatforms = [
# Broken due to Bun requiring AVX when run via Rosetta 2 on Apple Silicon.
];
};
})
-4
View File
@@ -57,9 +57,5 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ HeitorAugustoLN ];
mainProgram = "luau-lsp";
platforms = lib.platforms.all;
badPlatforms = [
# Could not find a package configuration file provided by "Protobuf"
# It is unclear why this is only happening on x86_64-darwin
];
};
})
-1
View File
@@ -59,6 +59,5 @@ stdenv.mkDerivation (finalAttrs: {
"libbsoncxx"
];
platforms = lib.platforms.all;
badPlatforms = [ ]; # needs sdk >= 10.14
};
})
-3
View File
@@ -53,8 +53,5 @@ buildGoModule (finalAttrs: {
license = lib.licenses.mit;
mainProgram = "nesting";
maintainers = with lib.maintainers; [ commiterate ];
badPlatforms = [
# Only supports AArch64 for Darwin.
];
};
})
-2
View File
@@ -94,8 +94,6 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/openMVG/openMVG/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mpl20;
platforms = lib.platforms.unix;
badPlatforms = [
];
maintainers = with lib.maintainers; [
mdaiter
bouk
-1
View File
@@ -40,7 +40,6 @@ buildGoModule (finalAttrs: {
platforms = lib.platforms.unix;
badPlatforms = [
"aarch64-linux" # assets_test.go:44: BuildAssetPath: unexpected error unsupported platform: linux-arm64
# assets_test.go:44: BuildAssetPath: unexpected error unsupported platform: darwin-amd64
"aarch64-darwin" # install_test.go:22: installation error: failed to dequarantine files: exec: "xattr": executable file not found in $PATH
];
};
@@ -78,8 +78,5 @@ stdenv.mkDerivation (finalAttrs: {
];
maintainers = with lib.maintainers; [ prince213 ];
platforms = with lib.platforms; aarch64 ++ x86;
badPlatforms = [
# clang++: error: clang frontend command failed with exit code 139
];
};
})
@@ -145,11 +145,5 @@ buildPythonPackage {
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ samuela ];
badPlatforms = [
# Fails at pythonImportsCheckPhase:
# ...-python-imports-check-hook.sh/nix-support/setup-hook: line 10: 28017 Illegal instruction: 4
# /nix/store/5qpssbvkzfh73xih07xgmpkj5r565975-python3-3.11.9/bin/python3.11 -c
# 'import os; import importlib; list(map(lambda mod: importlib.import_module(mod), os.environ["pythonImportsCheck"].split()))'
];
};
}
@@ -48,8 +48,5 @@ buildPythonPackage rec {
maintainers = with lib.maintainers; [
flokli
];
badPlatforms = [
# Illegal instruction: 4
];
};
}
@@ -138,8 +138,8 @@ buildPythonPackage (finalAttrs: {
# The scalene doesn't seem to account for arm64 linux
"aarch64-linux"
# On darwin, builds 1) assume aarch64 and 2) mistakenly compile one part as
# x86 and the other as arm64 then tries to link them into a single binary
# On darwin, builds mistakenly compile one part as x86 and the
# other as arm64 then tries to link them into a single binary
# which fails.
"aarch64-darwin"
];
@@ -240,7 +240,6 @@ buildPythonPackage (finalAttrs: {
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.asl20;
maintainers = [ ];
badPlatforms = [ ];
# unsupported combination
broken = stdenv.hostPlatform.isDarwin && cudaSupport;
};
@@ -138,9 +138,5 @@ buildPythonPackage (finalAttrs: {
osbm
mana-byte
];
badPlatforms = [
# Tests crash with:
# Fatal Python error: Segmentation fault for x86_64 Darwin in tests/python.py
];
};
})
@@ -598,10 +598,6 @@ buildPythonPackage.override { stdenv = torch.stdenv; } (finalAttrs: {
# vLLM CPU backend requires AVX512, AVX2, Power9+ ISA, S390X ISA, ARMv8 or
# RISC-V support.
"aarch64-darwin"
# CMake Error at cmake/cpu_extension.cmake:78 (find_isa):
# find_isa Function invoked with incorrect arguments for function named:
# find_isa
];
knownVulnerabilities = [
"CVE-2026-25960"