age-plugin-yubikey: switch to apple-sdk_11

This commit is contained in:
XYenon 2024-11-13 12:32:28 +08:00
parent 872d3124f6
commit 00e680083a

View File

@ -5,6 +5,7 @@
, pkg-config
, openssl
, pcsclite
, apple-sdk_11
}:
rustPlatform.buildRustPackage rec {
@ -32,7 +33,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl
]
++ lib.optionals stdenv.hostPlatform.isLinux [ pcsclite ];
++ lib.optionals stdenv.hostPlatform.isLinux [ pcsclite ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
meta = with lib; {
description = "YubiKey plugin for age";