1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

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 }:
stdenv.mkDerivation rec {
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ pkgconfig ] ++
[ pkgconfig libcap ] ++
lib.optional stdenv.isLinux (if usePulseAudio then [ pulseaudio ] else [ alsaLib ]);
meta = {