Force rebuild of some corrupted files

+4 -3
+4 -3
nixos/modules/virtualisation/qemu-vm.nix
··· 40 40 if [ -z "$TMPDIR" -o -z "$USE_TMPDIR" ]; then 41 41 TMPDIR=$(mktemp -d nix-vm.XXXXXXXXXX --tmpdir) 42 42 fi 43 + 43 44 # Create a directory for exchanging data with the VM. 44 45 mkdir -p $TMPDIR/xchg 45 46 46 47 ${if cfg.useBootLoader then '' 47 - # Create a writable copy/snapshot of the boot disk 48 - # A writable boot disk can be booted from automatically 48 + # Create a writable copy/snapshot of the boot disk. 49 + # A writable boot disk can be booted from automatically. 49 50 ${pkgs.qemu_kvm}/bin/qemu-img create -f qcow2 -b ${bootDisk}/disk.img $TMPDIR/disk.img || exit 1 50 51 51 52 ${if cfg.useEFIBoot then '' 52 - # VM needs a writable flash BIOS 53 + # VM needs a writable flash BIOS. 53 54 cp ${bootDisk}/bios.bin $TMPDIR || exit 1 54 55 chmod 0644 $TMPDIR/bios.bin || exit 1 55 56 '' else ''