Merge pull request #162588 from a-m-joseph/fix-polkit

spice-gtk: fix build for withPolkit==false case
This commit is contained in:
Bobby Rong 2022-03-04 21:11:09 +08:00 committed by GitHub
commit db71f42738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,8 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dusb-acl-helper-dir=${placeholder "out"}/bin"
"-Dusb-ids-path=${hwdata}/share/hwdata/usb.ids"
] ++ lib.optionals (!withPolkit) [
"-Dpolkit=disabled"
];
meta = with lib; {