networkmanager-l2tp: use libnma

This commit is contained in:
Tor Hedin Brønner 2020-03-16 01:22:55 +01:00 committed by Jan Tojnar
parent 59c82bceca
commit f9f5ab3c88
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,7 +1,7 @@
{ stdenv, substituteAll, fetchFromGitHub, autoreconfHook, libtool, intltool, pkgconfig
, file, findutils
, gtk3, networkmanager, ppp, xl2tpd, strongswan, libsecret
, withGnome ? true, networkmanagerapplet }:
, withGnome ? true, libnma }:
stdenv.mkDerivation rec {
name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [ networkmanager ppp ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ];
++ stdenv.lib.optionals withGnome [ gtk3 libsecret libnma ];
nativeBuildInputs = [ autoreconfHook libtool intltool pkgconfig file findutils ];