File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
pkgs/development/interpreters/python/cpython Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -815,7 +815,12 @@ stdenv.mkDerivation (finalAttrs: {
815815 platforms = platforms . linux ++ platforms . darwin ++ platforms . windows ++ platforms . freebsd ;
816816 mainProgram = executable ;
817817 maintainers = lib . teams . python . members ;
818+ # static build on x86_64-darwin/aarch64-darwin breaks with:
819+ # configure: error: C compiler cannot create executables
820+
818821 # mingw patches only apply to Python 3.11 currently
819- broken = ( lib . versions . minor version ) != "11" && stdenv . hostPlatform . isWindows ;
822+ broken =
823+ ( lib . versions . minor version != "11" && stdenv . hostPlatform . isWindows )
824+ || ( stdenv . hostPlatform . isStatic && stdenv . hostPlatform . isDarwin ) ;
820825 } ;
821826} )
You can’t perform that action at this time.
0 commit comments