about summary refs log tree commit diff
path: root/pkgs/tools/security/libacr38u/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/libacr38u/default.nix')
-rw-r--r--pkgs/tools/security/libacr38u/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/libacr38u/default.nix b/pkgs/tools/security/libacr38u/default.nix
index 5211f42b96ef..45db3985d555 100644
--- a/pkgs/tools/security/libacr38u/default.nix
+++ b/pkgs/tools/security/libacr38u/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
 
   nativeBuildInputs = [ autoreconfHook pkg-config ];
   buildInputs = [ pcsclite libusb-compat-0_1 ]
-    ++ lib.optional stdenv.isDarwin IOKit;
+    ++ lib.optional stdenv.hostPlatform.isDarwin IOKit;
 
   preBuild = ''
     makeFlagsArray=(usbdropdir="$out/pcsc/drivers");