python3Packages.pyvex: fix build for darwin

This commit is contained in:
Robert Scott 2021-05-22 23:01:18 +01:00 committed by Jonathan Ringer
parent ea5726aefe
commit 5b511ca6f3

View file

@ -18,6 +18,10 @@ buildPythonPackage rec {
sha256 = "sha256-cWQdrGKJyGieBow3TiMj/uB2crIF32Kvl5tVUKg/z+E=";
};
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace vex/Makefile-gcc --replace '/usr/bin/ar' 'ar'
'';
propagatedBuildInputs = [
archinfo
bitstring