libao: enable libcap only on Linux

This commit is contained in:
taku0 2015-09-11 21:49:22 +09:00
parent c8904b593d
commit 2cc27bcfd8

View File

@ -10,8 +10,9 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ pkgconfig libcap ] ++
lib.optional stdenv.isLinux (if usePulseAudio then libpulseaudio else alsaLib);
[ pkgconfig ] ++
lib.optional stdenv.isLinux (if usePulseAudio then libpulseaudio else alsaLib) ++
lib.optional stdenv.isLinux libcap;
meta = {
longDescription = ''