libao: enable libcap only on Linux
This commit is contained in:
parent
c8904b593d
commit
2cc27bcfd8
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user