mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Merge pull request #325305 from natsukium/statsmodels/darwin
python312Packages.statsmodels: fix darwin build
This commit is contained in:
commit
e5dfb653d8
@ -39,6 +39,13 @@ buildPythonPackage rec {
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
"-Wno-error=implicit-function-declaration"
|
||||
"-Wno-error=int-conversion"
|
||||
];
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
packaging
|
||||
@ -57,7 +64,5 @@ buildPythonPackage rec {
|
||||
homepage = "https://www.github.com/statsmodels/statsmodels";
|
||||
changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
# Fails at build time
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user