mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #67470 from matthewbauer/fix-66647
cpython: skip macOS system frameworks
This commit is contained in:
commit
8345c77cfe
1 changed files with 2 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue