about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-09-06 19:45:10 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2020-09-06 19:45:10 -0400
commitdd2727773a23d5aac1f084f0b0891bf5b797199d (patch)
tree6a4e1f158e5b1f8b649962738086cbd55308b514 /nixos
parentce6bc4dbc7821bc271e6ae5d25b57075c4ce877f (diff)
Revert "nixos/qemu-vm: support nix run"
This reverts commit 02590c96209d374d7f720293fcb8337e17104bc9.

https://github.com/NixOS/nixpkgs/commit/02590c96209d374d7f720293fcb8337e17104bc9#commitcomment-42078853
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/qemu-vm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index d3ee3d54b3b70..42e43f5ee0233 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