forked from mirrors/nixpkgs
fix libcap for packages depending on pulseaudio
This commit is contained in:
parent
944972ba4a
commit
f63a9f2534
|
@ -45,9 +45,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig intltool autoreconfHook ];
|
||||
|
||||
propagatedBuildInputs =
|
||||
lib.optionals stdenv.isLinux [ libcap ];
|
||||
|
||||
buildInputs =
|
||||
[ json_c libsndfile speexdsp fftwFloat ]
|
||||
++ lib.optionals stdenv.isLinux [ libcap glib dbus.libs ]
|
||||
++ lib.optionals stdenv.isLinux [ glib dbus.libs ]
|
||||
++ lib.optionals (!libOnly) (
|
||||
[ libasyncns webrtc-audio-processing ]
|
||||
++ lib.optional jackaudioSupport libjack2
|
||||
|
|
Loading…
Reference in a new issue