1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

strongswan: ad-hoc fix build

Simply add libpcap to buildInputs until iptables with pruned libtool files lands
in master.
This commit is contained in:
Tor Hedin Brønner 2018-12-21 12:22:27 +01:00
parent f2d19d6d7a
commit ba055b698b

View file

@ -6,6 +6,7 @@
, curl
, enableTNC ? false, trousers, sqlite, libxml2
, enableNetworkManager ? false, networkmanager
, libpcap
}:
# Note on curl support: If curl is built with gnutls as its backend, the
@ -30,7 +31,10 @@ stdenv.mkDerivation rec {
[ curl gmp python iptables ldns unbound openssl pcsclite ]
++ optionals enableTNC [ trousers sqlite libxml2 ]
++ optionals stdenv.isLinux [ systemd.dev pam ]
++ optionals enableNetworkManager [ networkmanager ];
++ optionals enableNetworkManager [ networkmanager ]
# ad-hoc fix for https://github.com/NixOS/nixpkgs/pull/51787
# Remove when the above PR lands in master
++ [ libpcap ];
patches = [
./ext_auth-path.patch