about summary refs log tree commit diff
path: root/nixos/tests/libvirtd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/libvirtd.nix')
-rw-r--r--nixos/tests/libvirtd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/libvirtd.nix b/nixos/tests/libvirtd.nix
index 27ffaac3e62d1..0b068d5a2f08b 100644
--- a/nixos/tests/libvirtd.nix
+++ b/nixos/tests/libvirtd.nix
@@ -30,7 +30,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
 
   testScript = let
     nixosInstallISO = (import ../release.nix {}).iso_minimal.${pkgs.stdenv.hostPlatform.system};
-    virshShutdownCmd = if pkgs.stdenv.isx86_64 then "shutdown" else "destroy";
+    virshShutdownCmd = if pkgs.stdenv.hostPlatform.isx86_64 then "shutdown" else "destroy";
   in ''
     start_all()