Merge pull request #161995 from K900/openconnect-p11kit

This commit is contained in:
Sandro 2022-03-07 17:53:42 +01:00 committed by GitHub
commit 2039cf71f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@
, pkg-config , pkg-config
, openssl ? null , openssl ? null
, gnutls ? null , gnutls ? null
, p11-kit
, gmp , gmp
, libxml2 , libxml2
, stoken , stoken
@ -42,7 +43,8 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ openssl gnutls gmp libxml2 stoken zlib ] buildInputs = [ openssl gnutls gmp libxml2 stoken zlib ]
++ lib.optional stdenv.isDarwin PCSC; ++ lib.optional stdenv.isDarwin PCSC
++ lib.optional stdenv.isLinux p11-kit;
nativeBuildInputs = [ pkg-config ] nativeBuildInputs = [ pkg-config ]
++ lib.optional head autoreconfHook; ++ lib.optional head autoreconfHook;