mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
openconnect: pass darwin framework individually
suggested by @SuperSandro2000
This commit is contained in:
parent
ab1213627a
commit
c2e076a767
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user