forked from mirrors/nixpkgs
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
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
qemu-system-i386 = "bin/qemu-system-i386";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.qemu.org/;
|
||||
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
|
||||
'';
|
||||
|
||||
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)
|
||||
|
|
|
@ -170,4 +170,10 @@ callPackage (import ./generic.nix (rec {
|
|||
-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
|
||||
|
|
Loading…
Reference in a new issue