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:
@@ -702,7 +702,7 @@ in
|
|||||||
|
|
||||||
services.qemuGuest.enable = cfg.qemu.guestAgent.enable;
|
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
|
mkdir -p $out/bin
|
||||||
ln -s ${config.system.build.toplevel} $out/system
|
ln -s ${config.system.build.toplevel} $out/system
|
||||||
|
|||||||
Reference in New Issue
Block a user