about summary refs log tree commit diff
path: root/pkgs/development/libraries/libfreefare/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libfreefare/default.nix')
-rw-r--r--pkgs/development/libraries/libfreefare/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libfreefare/default.nix b/pkgs/development/libraries/libfreefare/default.nix
index b05ea5bbe2d5..90e6f29c9d6e 100644
--- a/pkgs/development/libraries/libfreefare/default.nix
+++ b/pkgs/development/libraries/libfreefare/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
   };
 
   nativeBuildInputs = [ autoreconfHook pkg-config ];
-  buildInputs = [ libnfc openssl ] ++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
+  buildInputs = [ libnfc openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libobjc IOKit Security ];
 
   meta = with lib; {
     description = "Libfreefare project aims to provide a convenient API for MIFARE card manipulations";