From 90d2c99989720d0fd7bd59b68cb8037ddcd10a63 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 1 Jul 2018 06:59:16 +0000 Subject: [PATCH] Fix wrong qcow directory --- appvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appvm.sh b/appvm.sh index 4c7bc0e..af390ef 100755 --- a/appvm.sh +++ b/appvm.sh @@ -8,7 +8,7 @@ if [ ! -f nix/local.nix ]; then fi if [[ "$1" == "build" && "$2" != "" ]]; then - rm qemu/qcow/${2}.qcow2 + rm qemu/qcow2/${2}.qcow2 NIX_PATH=$NIX_PATH:. nix-build '' -A config.system.build.vm -I nixos-config=nix/${2}.nix || exit 1 NIX_SYSTEM=$(realpath result/system) mkdir -p bin