ckb-next: fix audio by adding libpulseaudio (#143023)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
virchau13 2021-11-14 05:58:09 +08:00 committed by GitHub
parent 781e656edd
commit fd9cbb1bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
{ lib, mkDerivation, fetchFromGitHub, substituteAll, udev
, pkg-config, qtbase, cmake, zlib, kmod, libXdmcp, qttools, qtx11extras, libdbusmenu }:
{ lib, mkDerivation, fetchFromGitHub, substituteAll, udev, stdenv
, pkg-config, qtbase, cmake, zlib, kmod, libXdmcp, qttools, qtx11extras, libdbusmenu
, withPulseaudio ? stdenv.isLinux, libpulseaudio
}:
mkDerivation rec {
version = "0.4.4";
@ -20,7 +22,7 @@ mkDerivation rec {
qttools
qtx11extras
libdbusmenu
];
] ++ lib.optional withPulseaudio libpulseaudio;
nativeBuildInputs = [
pkg-config