libao: build both pulse and alsa drivers
This commit is contained in:
parent
a3539a0dc6
commit
7da0b964de
@ -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 ];
|
||||
|
||||
|
@ -8198,7 +8198,7 @@ with pkgs;
|
||||
libagar_test = callPackage ../development/libraries/libagar/libagar_test.nix { };
|
||||
|
||||
libao = callPackage ../development/libraries/libao {
|
||||
usePulseAudio = config.pulseaudio or true;
|
||||
usePulseAudio = config.pulseaudio or stdenv.isLinux;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreAudio CoreServices AudioUnit;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user