From edcd5d1754ceec9f9ead5ed5841c73e1034e0c2c Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Mon, 26 Jun 2023 15:53:42 +0200 Subject: [PATCH] virt-manager: produce a macos application --- pkgs/applications/virtualization/virt-manager/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/virt-manager/default.nix b/pkgs/applications/virtualization/virt-manager/default.nix index 1a9fe490af85..31c8bbfdc5e4 100644 --- a/pkgs/applications/virtualization/virt-manager/default.nix +++ b/pkgs/applications/virtualization/virt-manager/default.nix @@ -2,6 +2,7 @@ , vte, avahi, dconf, gobject-introspection, libvirt-glib, system-libvirt , gsettings-desktop-schemas, libosinfo, gnome, gtksourceview4, docutils, cpio , e2fsprogs, findutils, gzip, cdrtools, xorriso, fetchpatch +, desktopToDarwinBundle, stdenv , spiceSupport ? true, spice-gtk ? null }: @@ -26,7 +27,8 @@ python3.pkgs.buildPythonApplication rec { wrapGAppsHook libvirt-glib vte dconf gtk-vnc gnome.adwaita-icon-theme avahi gsettings-desktop-schemas libosinfo gtksourceview4 - ] ++ lib.optional spiceSupport spice-gtk; + ] ++ lib.optional spiceSupport spice-gtk + ++ lib.optional stdenv.isDarwin desktopToDarwinBundle; propagatedBuildInputs = with python3.pkgs; [ pygobject3 libvirt libxml2 requests cdrtools