Merge branch 'master' into staging-next
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{lib, fetchPypi, python, buildPythonPackage, isPyPy, gfortran, pytest, blas, hostPlatform }:
|
||||
{ stdenv, lib, fetchPypi, python, buildPythonPackage, isPyPy, gfortran, pytest, blas }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpy";
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
./numpy-distutils-C++.patch
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString hostPlatform.isMusl ''
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
# Use fenv.h
|
||||
sed -i \
|
||||
numpy/core/src/npymath/ieee754.c.src \
|
||||
|
||||
Reference in New Issue
Block a user