virt-manager: fix build on darwin

This commit is contained in:
Weijia Wang 2023-08-30 20:44:54 +02:00
parent ba29c65bfb
commit 68e06a303a

View file

@ -21,14 +21,13 @@ python3.pkgs.buildPythonApplication rec {
intltool file intltool file
gobject-introspection # for setup hook populating GI_TYPELIB_PATH gobject-introspection # for setup hook populating GI_TYPELIB_PATH
docutils docutils
]; ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
buildInputs = [ buildInputs = [
wrapGAppsHook wrapGAppsHook
libvirt-glib vte dconf gtk-vnc gnome.adwaita-icon-theme avahi libvirt-glib vte dconf gtk-vnc gnome.adwaita-icon-theme avahi
gsettings-desktop-schemas libosinfo gtksourceview4 gsettings-desktop-schemas libosinfo gtksourceview4
] ++ lib.optional spiceSupport spice-gtk ] ++ lib.optional spiceSupport spice-gtk;
++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
pygobject3 libvirt libxml2 requests cdrtools pygobject3 libvirt libxml2 requests cdrtools