mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
python3: disable static darwin builds (#395401)
This commit is contained in:
@@ -476,6 +476,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
+ lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
|
||||
disable_test t7527-builtin-fsmonitor
|
||||
''
|
||||
+
|
||||
lib.optionalString (stdenv.hostPlatform.isStatic && stdenv.hostPlatform.system == "x86_64-linux")
|
||||
''
|
||||
# https://github.com/NixOS/nixpkgs/pull/394957
|
||||
# > t2082-parallel-checkout-attributes.sh (Wstat: 256 (exited 1) Tests: 5 Failed: 1)
|
||||
disable_test t2082-parallel-checkout-attributes
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
# Test fails (as of 2.17.0, musl 1.1.19)
|
||||
disable_test t3900-i18n-commit
|
||||
|
||||
@@ -815,7 +815,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
platforms = platforms.linux ++ platforms.darwin ++ platforms.windows ++ platforms.freebsd;
|
||||
mainProgram = executable;
|
||||
maintainers = lib.teams.python.members;
|
||||
# static build on x86_64-darwin/aarch64-darwin breaks with:
|
||||
# configure: error: C compiler cannot create executables
|
||||
|
||||
# mingw patches only apply to Python 3.11 currently
|
||||
broken = (lib.versions.minor version) != "11" && stdenv.hostPlatform.isWindows;
|
||||
broken =
|
||||
(lib.versions.minor version != "11" && stdenv.hostPlatform.isWindows)
|
||||
|| (stdenv.hostPlatform.isStatic && stdenv.hostPlatform.isDarwin);
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user