forked from mirrors/nixpkgs
networkmanager-openvpn: add missing dependency
Requires `glib` when built without Gnome.
This commit is contained in:
parent
54e262e9c4
commit
7a2f565909
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchurl, substituteAll, openvpn, intltool, libxml2, pkg-config, file, networkmanager, libsecret
|
||||
, gtk3, withGnome ? true, gnome, kmod, libnma }:
|
||||
, glib, gtk3, withGnome ? true, gnome, kmod, libnma }:
|
||||
|
||||
let
|
||||
pname = "NetworkManager-openvpn";
|
||||
|
@ -19,7 +19,7 @@ in stdenv.mkDerivation {
|
|||
})
|
||||
];
|
||||
|
||||
buildInputs = [ openvpn networkmanager ]
|
||||
buildInputs = [ openvpn networkmanager glib ]
|
||||
++ lib.optionals withGnome [ gtk3 libsecret libnma ];
|
||||
|
||||
nativeBuildInputs = [ intltool pkg-config file libxml2 ];
|
||||
|
|
Loading…
Reference in a new issue