3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Jan Malakhovski 2017-12-07 21:26:42 +00:00
parent f56b5824ad
commit 7a92c2074d
3 changed files with 16 additions and 0 deletions

View file

@ -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";

View file

@ -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)

View file

@ -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