openconnect: re-enable p11kit

This commit is contained in:
K900 2022-04-22 08:54:53 +03:00 committed by Alyssa Ross
parent 0da9833e62
commit 40696c3e6f

View file

@ -6,6 +6,7 @@
, stdenv , stdenv
, pkg-config , pkg-config
, gnutls , gnutls
, p11-kit
, openssl , openssl
, useOpenSSL ? false , useOpenSSL ? false
, gmp , gmp
@ -30,7 +31,8 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ gmp libxml2 stoken zlib (if useOpenSSL then openssl else gnutls) ] buildInputs = [ gmp libxml2 stoken zlib (if useOpenSSL then openssl else gnutls) ]
++ lib.optional stdenv.isDarwin PCSC; ++ lib.optional stdenv.isDarwin PCSC
++ lib.optional stdenv.isLinux p11-kit;
nativeBuildInputs = [ pkg-config autoreconfHook ]; nativeBuildInputs = [ pkg-config autoreconfHook ];
meta = with lib; { meta = with lib; {