libsndfile: pass AudioToolbox framework on darwin

The libsndfile build system wants this framework when building on
darwin.
This commit is contained in:
Anthony Cowley 2016-05-05 18:39:58 -04:00
parent 78b6e8c319
commit d87e3b2a55
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig { stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig
, Carbon , Carbon, AudioToolbox
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ pkgconfig flac libogg libvorbis ] buildInputs = [ pkgconfig flac libogg libvorbis ]
++ stdenv.lib.optional stdenv.isDarwin Carbon; ++ stdenv.lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -7980,7 +7980,7 @@ in
libsigsegv_25 = callPackage ../development/libraries/libsigsegv/2.5.nix { }; libsigsegv_25 = callPackage ../development/libraries/libsigsegv/2.5.nix { };
libsndfile = callPackage ../development/libraries/libsndfile { libsndfile = callPackage ../development/libraries/libsndfile {
inherit (darwin.apple_sdk.frameworks) Carbon; inherit (darwin.apple_sdk.frameworks) Carbon AudioToolbox;
}; };
libsodium = callPackage ../development/libraries/libsodium { }; libsodium = callPackage ../development/libraries/libsodium { };