forked from mirrors/nixpkgs
Merge pull request #162588 from a-m-joseph/fix-polkit
spice-gtk: fix build for withPolkit==false case
This commit is contained in:
commit
db71f42738
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue