virtualbox-image: remove raw image (hopefully fixes ova tests)

See also 80660f8
This commit is contained in:
obadz 2016-08-28 11:31:55 +01:00
parent 17f9b21c09
commit f0da094b2e

View File

@ -57,6 +57,8 @@ in {
fn="$out/nixos-${config.system.nixosLabel}-${pkgs.stdenv.system}.ova" fn="$out/nixos-${config.system.nixosLabel}-${pkgs.stdenv.system}.ova"
VBoxManage export "$vmName" --output "$fn" VBoxManage export "$vmName" --output "$fn"
rm -v $diskImage
mkdir -p $out/nix-support mkdir -p $out/nix-support
echo "file ova $fn" >> $out/nix-support/hydra-build-products echo "file ova $fn" >> $out/nix-support/hydra-build-products
''; '';