From dd2727773a23d5aac1f084f0b0891bf5b797199d Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sun, 6 Sep 2020 19:45:10 -0400 Subject: [PATCH] Revert "nixos/qemu-vm: support nix run" This reverts commit 02590c96209d374d7f720293fcb8337e17104bc9. https://github.com/NixOS/nixpkgs/commit/02590c96209d374d7f720293fcb8337e17104bc9#commitcomment-42078853 --- nixos/modules/virtualisation/qemu-vm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index d3ee3d54b3b7..42e43f5ee023 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -702,7 +702,7 @@ in services.qemuGuest.enable = cfg.qemu.guestAgent.enable; - system.build.vm = pkgs.runCommand "run-${config.system.name}-vm" { preferLocalBuild = true; } + system.build.vm = pkgs.runCommand "nixos-vm" { preferLocalBuild = true; } '' mkdir -p $out/bin ln -s ${config.system.build.toplevel} $out/system