mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
gnome-boxes: fix USB redirection (#39129)
This fixes USB redirection in gnome-boxes by ensuring that the required PolicyKit action policy file is installed in the spice-gtk package and adding that package to gnome-boxes propagatedUserEnvPkgs.
This commit is contained in:
parent
5bc59008b9
commit
737c1c491d
@ -24,6 +24,9 @@ in stdenv.mkDerivation rec {
|
||||
meson ninja vala pkgconfig gettext itstool wrapGAppsHook gobjectIntrospection desktop-file-utils
|
||||
];
|
||||
|
||||
# Required for USB redirection PolicyKit rules file
|
||||
propagatedUserEnvPkgs = [ spice-gtk ];
|
||||
|
||||
buildInputs = [
|
||||
libvirt-glib glib gtk3 gtkvnc libxml2
|
||||
libvirt spice-gtk spice-protocol libsoup json-glib webkitgtk libosinfo systemd
|
||||
|
@ -52,7 +52,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala gobjectIntrospection ];
|
||||
|
||||
PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "share/polkit-1/actions";
|
||||
PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "$(out)/share/polkit-1/actions";
|
||||
|
||||
configureFlags = [
|
||||
"--with-gtk3"
|
||||
|
Loading…
Reference in New Issue
Block a user