openconnect: pass darwin framework individually

suggested by @SuperSandro2000
This commit is contained in:
Matt McHenry 2020-12-09 20:53:04 -05:00
parent ab1213627a
commit c2e076a767
2 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,7 @@
, stoken
, zlib
, fetchgit
, darwin
, PCSC
, head ? false
, fetchFromGitLab
, autoreconfHook
@ -48,7 +48,7 @@ in stdenv.mkDerivation rec {
];
buildInputs = [ openssl gnutls gmp libxml2 stoken zlib ]
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.PCSC;
++ lib.optional stdenv.isDarwin PCSC;
nativeBuildInputs = [ pkg-config ]
++ lib.optional head autoreconfHook;

View File

@ -9468,14 +9468,17 @@ in
openconnect = openconnect_gnutls;
openconnect_openssl = callPackage ../tools/networking/openconnect {
inherit (darwin.apple_sdk.frameworks) PCSC;
gnutls = null;
};
openconnect_gnutls = callPackage ../tools/networking/openconnect {
inherit (darwin.apple_sdk.frameworks) PCSC;
openssl = null;
};
openconnect_head = callPackage ../tools/networking/openconnect {
inherit (darwin.apple_sdk.frameworks) PCSC;
head = true;
openssl = null;
};