Merge pull request #331214 from tricktron/fix-openconnect-darwin
This commit is contained in:
commit
4048ba10fd
@ -21,7 +21,7 @@
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
pname = "openconnect";
|
||||
inherit version src;
|
||||
|
||||
@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
|
||||
"--without-openssl-version-check"
|
||||
];
|
||||
|
||||
buildInputs = [ gmp libxml2 stoken zlib pcsclite (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.isLinux p11-kit
|
||||
++ lib.optionals stdenv.isLinux [ p11-kit pcsclite ]
|
||||
++ lib.optional useDefaultExternalBrowser xdg-utils;
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user