about summary refs log tree commit diff
path: root/pkgs/development/libraries/libvirt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libvirt/default.nix')
-rw-r--r--pkgs/development/libraries/libvirt/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix
index 56b0b0a39089..f6e5807f6958 100644
--- a/pkgs/development/libraries/libvirt/default.nix
+++ b/pkgs/development/libraries/libvirt/default.nix
@@ -72,14 +72,14 @@
 , enableIscsi ? false
 , openiscsi
 , libiscsi
-, enableXen ? stdenv.isLinux && stdenv.isx86_64
+, enableXen ? stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64
 , xen
-, enableZfs ? stdenv.isLinux
+, enableZfs ? stdenv.hostPlatform.isLinux
 , zfs
 }:
 
 let
-  inherit (stdenv) isDarwin isLinux isx86_64;
+  inherit (stdenv.hostPlatform) isDarwin isLinux isx86_64;
   binPath = lib.makeBinPath ([
     dnsmasq
   ] ++ lib.optionals isLinux [