strongswan: fix build with enableNetworkManager set to true (#71186)

strongswan: fix build with enableNetworkManager set to true
This commit is contained in:
Florian Klink 2019-10-15 17:33:33 +02:00 committed by GitHub
commit d4c9a097cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch
, pkgconfig, autoreconfHook
, gmp, python, iptables, ldns, unbound, openssl, pcsclite
, gmp, python, iptables, ldns, unbound, openssl, pcsclite, glib
, openresolv
, systemd, pam
, curl
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
++ optionals enableTNC [ trousers sqlite libxml2 ]
++ optionals stdenv.isLinux [ systemd.dev pam iptables ]
++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ SystemConfiguration ])
++ optionals enableNetworkManager [ networkmanager ];
++ optionals enableNetworkManager [ networkmanager glib ];
patches = [
./ext_auth-path.patch