Merge pull request #300142 from SomeoneSerge/fix/rerun/darwin-iconv
python3Packages.rerun-sdk: fix -liconv on darwin
This commit is contained in:
commit
014711e881
1 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
rustPlatform,
|
||||
stdenv,
|
||||
attrs,
|
||||
darwin,
|
||||
numpy,
|
||||
pillow,
|
||||
pyarrow,
|
||||
|
@ -12,6 +13,7 @@
|
|||
typing-extensions,
|
||||
pytestCheckHook,
|
||||
python,
|
||||
libiconv,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
|
@ -27,6 +29,13 @@ buildPythonPackage {
|
|||
rustPlatform.maturinBuildHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libiconv # No-op on Linux, necessary on Darwin.
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
numpy
|
||||
|
|
Loading…
Reference in a new issue