mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
libsndfile: pass AudioToolbox framework on darwin
The libsndfile build system wants this framework when building on darwin.
This commit is contained in:
parent
78b6e8c319
commit
d87e3b2a55
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig
|
||||
, Carbon
|
||||
, Carbon, AudioToolbox
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig flac libogg libvorbis ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Carbon;
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -7980,7 +7980,7 @@ in
|
||||
libsigsegv_25 = callPackage ../development/libraries/libsigsegv/2.5.nix { };
|
||||
|
||||
libsndfile = callPackage ../development/libraries/libsndfile {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon;
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon AudioToolbox;
|
||||
};
|
||||
|
||||
libsodium = callPackage ../development/libraries/libsodium { };
|
||||
|
Loading…
Reference in New Issue
Block a user