Merge pull request #52618 from hedning/ad-hoc-fix-strongswan
strongswan: ad-hoc fix build
This commit is contained in:
commit
92343831c8
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
, curl
|
, curl
|
||||||
, enableTNC ? false, trousers, sqlite, libxml2
|
, enableTNC ? false, trousers, sqlite, libxml2
|
||||||
, enableNetworkManager ? false, networkmanager
|
, enableNetworkManager ? false, networkmanager
|
||||||
|
, libpcap
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# Note on curl support: If curl is built with gnutls as its backend, the
|
# 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 ]
|
[ curl gmp python iptables ldns unbound openssl pcsclite ]
|
||||||
++ optionals enableTNC [ trousers sqlite libxml2 ]
|
++ optionals enableTNC [ trousers sqlite libxml2 ]
|
||||||
++ optionals stdenv.isLinux [ systemd.dev pam ]
|
++ 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 = [
|
patches = [
|
||||||
./ext_auth-path.patch
|
./ext_auth-path.patch
|
||||||
|
|
Loading…
Reference in a new issue