about summary refs log tree commit diff
path: root/pkgs/by-name/op/openpgp-card-tools/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/op/openpgp-card-tools/package.nix')
-rw-r--r--pkgs/by-name/op/openpgp-card-tools/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/op/openpgp-card-tools/package.nix b/pkgs/by-name/op/openpgp-card-tools/package.nix
index 00a4be3e9ece..03d828204449 100644
--- a/pkgs/by-name/op/openpgp-card-tools/package.nix
+++ b/pkgs/by-name/op/openpgp-card-tools/package.nix
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
 
-  buildInputs = [ pcsclite ] ++ lib.optionals stdenv.isDarwin [
+  buildInputs = [ pcsclite ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.PCSC
     darwin.apple_sdk.frameworks.Security
   ];