libao now needs libcap

This commit is contained in:
Michael Raskin 2015-04-26 18:09:08 +03:00
parent c9c2aa5ced
commit 9e44118e5d

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkgconfig, pulseaudio, alsaLib { lib, stdenv, fetchurl, pkgconfig, pulseaudio, alsaLib, libcap
, usePulseAudio }: , usePulseAudio }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = buildInputs =
[ pkgconfig ] ++ [ pkgconfig libcap ] ++
lib.optional stdenv.isLinux (if usePulseAudio then [ pulseaudio ] else [ alsaLib ]); lib.optional stdenv.isLinux (if usePulseAudio then [ pulseaudio ] else [ alsaLib ]);
meta = { meta = {