diff --git a/pkgs/by-name/ag/age-plugin-yubikey/package.nix b/pkgs/by-name/ag/age-plugin-yubikey/package.nix index c45e9b9772a6..590dd6d495a9 100644 --- a/pkgs/by-name/ag/age-plugin-yubikey/package.nix +++ b/pkgs/by-name/ag/age-plugin-yubikey/package.nix @@ -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";