libao: enable libcap only on Linux
This commit is contained in:
parent
c8904b593d
commit
2cc27bcfd8
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue