pythonPackages.cffi: fix on darwin
This isn't conditional because it works on other platforms too
This commit is contained in:
parent
bc685f8a7c
commit
49ea72c3f3
@ -4373,6 +4373,12 @@ in modules // {
|
||||
propagatedBuildInputs = with self; [ pkgs.libffi pycparser ];
|
||||
buildInputs = with self; [ pytest ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace testing/cffi0/test_ownlib.py --replace "gcc" "cc"
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE="-Wno-shift-negative-value";
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
Loading…
x
Reference in New Issue
Block a user