From 8bdfc34ab0ef717504418b2388b881927934466f Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Fri, 7 May 2021 18:00:04 -0400 Subject: [PATCH] python3Packages.pyvex: fix on darwin --- pkgs/development/python-modules/pyvex/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pyvex/default.nix b/pkgs/development/python-modules/pyvex/default.nix index 310170d040d..618dfef4171 100644 --- a/pkgs/development/python-modules/pyvex/default.nix +++ b/pkgs/development/python-modules/pyvex/default.nix @@ -28,6 +28,7 @@ buildPythonPackage rec { preBuild = '' export CC=${stdenv.cc.targetPrefix}cc + substituteInPlace pyvex_c/Makefile --replace 'AR=ar' 'AR=${stdenv.cc.targetPrefix}ar' ''; # No tests are available on PyPI, GitHub release has tests