From 00e680083a9890cdf5f1752bcd483a430711349d Mon Sep 17 00:00:00 2001 From: XYenon Date: Wed, 13 Nov 2024 12:32:28 +0800 Subject: [PATCH] age-plugin-yubikey: switch to apple-sdk_11 --- pkgs/by-name/ag/age-plugin-yubikey/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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";