virt-manager: fix build on darwin
This commit is contained in:
parent
b4a648e1fc
commit
0fd439982d
@ -64,6 +64,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
|
||||
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
|
||||
# Fixes testCLI0051virt_install_initrd_inject on Darwin: "cpio: root:root: invalid group"
|
||||
substituteInPlace virtinst/install/installerinject.py \
|
||||
--replace "'--owner=root:root'" "'--owner=0:0'"
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
@ -95,8 +99,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
manages Xen and LXC (linux containers).
|
||||
'';
|
||||
license = licenses.gpl2;
|
||||
# exclude Darwin since libvirt-glib currently doesn't build there
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ qknight offline fpletz globin ];
|
||||
};
|
||||
}
|
||||
|
@ -9,6 +9,7 @@
|
||||
, glib
|
||||
, pkg-config
|
||||
, cyrus_sasl
|
||||
, pulseaudioSupport ? stdenv.isLinux
|
||||
, libpulseaudio
|
||||
, libgcrypt
|
||||
, gtk3
|
||||
@ -51,8 +52,13 @@ stdenv.mkDerivation rec {
|
||||
glib
|
||||
libgcrypt
|
||||
cyrus_sasl
|
||||
libpulseaudio
|
||||
gtk3
|
||||
] ++ lib.optionals pulseaudioSupport [
|
||||
libpulseaudio
|
||||
];
|
||||
|
||||
mesonFlags = lib.optionals (!pulseaudioSupport) [
|
||||
"-Dpulseaudio=disabled"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
@ -67,6 +73,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://wiki.gnome.org/Projects/gtk-vnc";
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ raskin offline ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user