xen, qemu: passthru the path to qemu-system-i386
This commit is contained in:
parent
e5268344fe
commit
06adc17455
@ -101,6 +101,10 @@ stdenv.mkDerivation rec {
|
|||||||
else if stdenv.isAarch64 then ''makeWrapper $out/bin/qemu-system-aarch64 $out/bin/qemu-kvm --add-flags "\$([ -e /dev/kvm ] && echo -enable-kvm)"''
|
else if stdenv.isAarch64 then ''makeWrapper $out/bin/qemu-system-aarch64 $out/bin/qemu-kvm --add-flags "\$([ -e /dev/kvm ] && echo -enable-kvm)"''
|
||||||
else "";
|
else "";
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
qemu-system-i386 = "bin/qemu-system-i386";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.qemu.org/;
|
homepage = http://www.qemu.org/;
|
||||||
description = "A generic and open source machine emulator and virtualizer";
|
description = "A generic and open source machine emulator and virtualizer";
|
||||||
|
@ -248,4 +248,10 @@ callPackage (import ./generic.nix (rec {
|
|||||||
-i tools/libxl/libxl_device.c
|
-i tools/libxl/libxl_device.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
qemu-system-i386 = if withInternalQemu
|
||||||
|
then "lib/xen/bin/qemu-system-i386"
|
||||||
|
else throw "this xen has no qemu builtin";
|
||||||
|
};
|
||||||
|
|
||||||
})) ({ ocamlPackages = ocamlPackages_4_02; } // args)
|
})) ({ ocamlPackages = ocamlPackages_4_02; } // args)
|
||||||
|
@ -176,4 +176,10 @@ callPackage (import ./generic.nix (rec {
|
|||||||
-i tools/libxl/libxl_device.c
|
-i tools/libxl/libxl_device.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
qemu-system-i386 = if withInternalQemu
|
||||||
|
then "lib/xen/bin/qemu-system-i386"
|
||||||
|
else throw "this xen has no qemu builtin";
|
||||||
|
};
|
||||||
|
|
||||||
})) args
|
})) args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user