about summary refs log tree commit diff
path: root/pkgs/tools/security/age-plugin-yubikey/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/age-plugin-yubikey/default.nix')
-rw-r--r--pkgs/tools/security/age-plugin-yubikey/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/age-plugin-yubikey/default.nix b/pkgs/tools/security/age-plugin-yubikey/default.nix
index e69d4dc789fb..9022442f62a8 100644
--- a/pkgs/tools/security/age-plugin-yubikey/default.nix
+++ b/pkgs/tools/security/age-plugin-yubikey/default.nix
@@ -30,8 +30,8 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     openssl
   ]
-  ++ lib.optional stdenv.isLinux pcsclite
-  ++ lib.optionals stdenv.isDarwin [
+  ++ lib.optional stdenv.hostPlatform.isLinux pcsclite
+  ++ lib.optionals stdenv.hostPlatform.isDarwin [
     IOKit
     Foundation
     PCSC