diff options
author | taku0 <mxxouy6x3m_github@tatapa.org> | 2016-02-11 15:54:19 +0900 |
---|---|---|
committer | taku0 <mxxouy6x3m_github@tatapa.org> | 2016-02-11 15:54:19 +0900 |
commit | 2d7375e64989912dd622eb9cb7385fb3a1902054 (patch) | |
tree | 46abc1bdcdf0f038624f2de5feeb273050d81fa1 /pkgs/development/libraries/libao | |
parent | 37e1a9c844e3b554e18ba0bf784e908481055d95 (diff) |
libao: add dependencies for Darwin frameworks
Diffstat (limited to 'pkgs/development/libraries/libao')
-rw-r--r-- | pkgs/development/libraries/libao/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libao/default.nix b/pkgs/development/libraries/libao/default.nix index a8948e8ae8c07..c0a6d4b6b1f12 100644 --- a/pkgs/development/libraries/libao/default.nix +++ b/pkgs/development/libraries/libao/default.nix @@ -1,4 +1,5 @@ { lib, stdenv, fetchurl, pkgconfig, libpulseaudio, alsaLib, libcap +, CoreAudio, CoreServices, AudioUnit , usePulseAudio }: stdenv.mkDerivation rec { @@ -12,7 +13,8 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig ] ++ lib.optional stdenv.isLinux (if usePulseAudio then libpulseaudio else alsaLib) ++ - lib.optional stdenv.isLinux libcap; + lib.optional stdenv.isLinux libcap ++ + lib.optionals stdenv.isDarwin [ CoreAudio CoreServices AudioUnit ]; meta = { longDescription = '' |