Merge pull request #67470 from matthewbauer/fix-66647

cpython: skip macOS system frameworks
This commit is contained in:
Matthew Bauer
2019-08-26 15:53:32 -04:00
committed by GitHub

View File

@@ -83,6 +83,8 @@ in with passthru; stdenv.mkDerivation {
prePatch = optionalString stdenv.isDarwin ''
substituteInPlace configure --replace '`/usr/bin/arch`' '"i386"'
substituteInPlace configure --replace '-Wl,-stack_size,1000000' ' '
'' + optionalString (stdenv.isDarwin && x11Support) ''
substituteInPlace setup.py --replace /Library/Frameworks /no-such-path
'';
patches = [