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