xen, qemu: passthru the path to qemu-system-i386
This commit is contained in:
parent
f56b5824ad
commit
7a92c2074d
@ -106,6 +106,10 @@ stdenv.mkDerivation rec {
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
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";
|
||||||
|
@ -242,4 +242,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)
|
||||||
|
@ -170,4 +170,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