networkmanager-openvpn: use libnma

This commit is contained in:
Tor Hedin Brønner 2020-03-16 01:17:13 +01:00 committed by Jan Tojnar
parent ac7d843413
commit dd48e9b58c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, openvpn, intltool, libxml2, pkgconfig, file, networkmanager, libsecret
, gtk3, withGnome ? true, gnome3, kmod, fetchpatch, networkmanagerapplet }:
, gtk3, withGnome ? true, gnome3, kmod, fetchpatch, libnma }:
let
pname = "NetworkManager-openvpn";
@ -25,7 +25,7 @@ in stdenv.mkDerivation {
];
buildInputs = [ openvpn networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ];
++ stdenv.lib.optionals withGnome [ gtk3 libsecret libnma ];
nativeBuildInputs = [ intltool pkgconfig file libxml2 ];