tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
xen, qemu: passthru the path to qemu-system-i386
Jan Malakhovski
8 years ago
06adc174
e5268344
+16
3 changed files
expand all
collapse all
unified
split
pkgs
applications
virtualization
qemu
default.nix
xen
4.5.nix
4.8.nix
+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
104
+
passthru = {
105
105
+
qemu-system-i386 = "bin/qemu-system-i386";
106
106
+
};
107
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
251
+
passthru = {
252
252
+
qemu-system-i386 = if withInternalQemu
253
253
+
then "lib/xen/bin/qemu-system-i386"
254
254
+
else throw "this xen has no qemu builtin";
255
255
+
};
256
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
179
+
passthru = {
180
180
+
qemu-system-i386 = if withInternalQemu
181
181
+
then "lib/xen/bin/qemu-system-i386"
182
182
+
else throw "this xen has no qemu builtin";
183
183
+
};
184
184
+
179
185
})) args