diff options
author | gnidorah <gnidorah@users.noreply.github.com> | 2017-05-12 12:23:56 +0300 |
---|---|---|
committer | gnidorah <gnidorah@users.noreply.github.com> | 2017-05-12 12:23:56 +0300 |
commit | 7da0b964de1b8f69e7edc1f99324542a1e977562 (patch) | |
tree | 5c90fcf5d6442db8f3950081715e582bfeea991d /pkgs/development/libraries/libao | |
parent | a3539a0dc6e4a895dc8c1b853b8dbfa757008194 (diff) |
libao: build both pulse and alsa drivers
Diffstat (limited to 'pkgs/development/libraries/libao')
-rw-r--r-- | pkgs/development/libraries/libao/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libao/default.nix b/pkgs/development/libraries/libao/default.nix index f7261e1173899..d3cb1283331ba 100644 --- a/pkgs/development/libraries/libao/default.nix +++ b/pkgs/development/libraries/libao/default.nix @@ -14,7 +14,8 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig ] ++ - lib.optional stdenv.isLinux (if usePulseAudio then libpulseaudio else alsaLib) ++ + lib.optional usePulseAudio libpulseaudio ++ + lib.optional stdenv.isLinux alsaLib ++ lib.optional stdenv.isLinux libcap ++ lib.optionals stdenv.isDarwin [ CoreAudio CoreServices AudioUnit ]; |