mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 18:03:59 +00:00
python312Packages.soxr: fix build on x86_64-darwin (#359539)
This commit is contained in:
commit
8c5c3e5bc2
@ -1,8 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
apple-sdk_11,
|
||||
buildPythonPackage,
|
||||
darwinMinVersionHook,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
stdenv,
|
||||
|
||||
# build-system
|
||||
cmake,
|
||||
@ -60,7 +63,13 @@ buildPythonPackage rec {
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
buildInputs = [ libsoxr ];
|
||||
buildInputs =
|
||||
[ libsoxr ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer
|
||||
(darwinMinVersionHook "10.13")
|
||||
apple-sdk_11
|
||||
];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user