python3Packages.pyvex: fix cross (#354109)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
bitstring,
|
||||
buildPythonPackage,
|
||||
buildPackages,
|
||||
cffi,
|
||||
fetchPypi,
|
||||
pycparser,
|
||||
@@ -30,6 +31,10 @@ buildPythonPackage rec {
|
||||
pycparser
|
||||
];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
nativeBuildInputs = [ cffi ];
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace vex/Makefile-gcc \
|
||||
--replace-fail '/usr/bin/ar' 'ar'
|
||||
|
||||
Reference in New Issue
Block a user