strongswan: fix build with enableNetworkManager set to true

glib doesn't seem to be propagated, and strongswan with networkmanager
fails to build because of that.
This commit is contained in:
Florian Klink 2019-10-15 16:03:21 +02:00
parent 514f21a68d
commit 229dc6bd6c

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