Merge pull request #15251 from acowley/libsndfile

libsndfile: pass AudioToolbox framework on darwin
This commit is contained in:
Joachim Fasting 2016-05-07 22:26:13 +02:00
commit 3249d87b37
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -8043,7 +8043,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 { };