python3: disable static darwin builds
This commit is contained in:
@@ -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