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
@@ -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; {