Revert "nixos/qemu-vm: support nix run"

This reverts commit 02590c9620.

https://github.com/NixOS/nixpkgs/commit/02590c96209d374d7f720293fcb8337e17104bc9#commitcomment-42078853
This commit is contained in:
worldofpeace
2020-09-06 19:45:10 -04:00
parent ce6bc4dbc7
commit dd2727773a
+1 -1
View File
@@ -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