diff options
author | Robert Scott <code@humanleg.org.uk> | 2021-05-22 23:01:18 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-05-22 15:52:12 -0700 |
commit | 5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c (patch) | |
tree | 89dde3a139aa3d2d08af88995bf90b51d42f79bd /pkgs/development/python-modules/pyvex | |
parent | ea5726aefeb5731ff3705b33ddbc86cded976ae3 (diff) | |
download | nixlib-5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c.tar nixlib-5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c.tar.gz nixlib-5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c.tar.bz2 nixlib-5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c.tar.lz nixlib-5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c.tar.xz nixlib-5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c.tar.zst nixlib-5b511ca6f33ac0a5b0eda435e05aa4465d1ee79c.zip |
python3Packages.pyvex: fix build for darwin
Diffstat (limited to 'pkgs/development/python-modules/pyvex')
-rw-r--r-- | pkgs/development/python-modules/pyvex/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyvex/default.nix b/pkgs/development/python-modules/pyvex/default.nix index 618dfef4171c..c9fbedbbfd4f 100644 --- a/pkgs/development/python-modules/pyvex/default.nix +++ b/pkgs/development/python-modules/pyvex/default.nix @@ -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 |