lol

xen, qemu: passthru the path to qemu-system-i386

+16
+4
pkgs/applications/virtualization/qemu/default.nix
··· 101 101 else if stdenv.isAarch64 then ''makeWrapper $out/bin/qemu-system-aarch64 $out/bin/qemu-kvm --add-flags "\$([ -e /dev/kvm ] && echo -enable-kvm)"'' 102 102 else ""; 103 103 104 + passthru = { 105 + qemu-system-i386 = "bin/qemu-system-i386"; 106 + }; 107 + 104 108 meta = with stdenv.lib; { 105 109 homepage = http://www.qemu.org/; 106 110 description = "A generic and open source machine emulator and virtualizer";
+6
pkgs/applications/virtualization/xen/4.5.nix
··· 248 248 -i tools/libxl/libxl_device.c 249 249 ''; 250 250 251 + passthru = { 252 + qemu-system-i386 = if withInternalQemu 253 + then "lib/xen/bin/qemu-system-i386" 254 + else throw "this xen has no qemu builtin"; 255 + }; 256 + 251 257 })) ({ ocamlPackages = ocamlPackages_4_02; } // args)
+6
pkgs/applications/virtualization/xen/4.8.nix
··· 176 176 -i tools/libxl/libxl_device.c 177 177 ''; 178 178 179 + passthru = { 180 + qemu-system-i386 = if withInternalQemu 181 + then "lib/xen/bin/qemu-system-i386" 182 + else throw "this xen has no qemu builtin"; 183 + }; 184 + 179 185 })) args