diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2020-09-06 14:57:51 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2020-09-06 14:57:51 -0400 |
commit | 02590c96209d374d7f720293fcb8337e17104bc9 (patch) | |
tree | 45ff967a5d5a4752ffe288b74fe7e94109ccb2b7 /nixos | |
parent | e6cbcc2ac1f042e13d36a5c8f5c89777dad128b5 (diff) |
nixos/qemu-vm: support nix run
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 42e43f5ee0233..d3ee3d54b3b70 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 "nixos-vm" { preferLocalBuild = true; } + system.build.vm = pkgs.runCommand "run-${config.system.name}-vm" { preferLocalBuild = true; } '' mkdir -p $out/bin ln -s ${config.system.build.toplevel} $out/system |