networkmanager-fortisslvpn: more clean ups and fixes
* add GLib dependency (it works with graphical variant because it is propagated by GTK but we should include it explicitly). * Since 1.2.10, libnm-glib support is disabled by default. * Since 1.2.10, intltool is not used. Closes: https://github.com/NixOS/nixpkgs/issues/90015
This commit is contained in:
parent
dc318b393f
commit
9b47854f24
@ -2,9 +2,10 @@
|
||||
, fetchurl
|
||||
, substituteAll
|
||||
, openfortivpn
|
||||
, intltool
|
||||
, gettext
|
||||
, pkg-config
|
||||
, file
|
||||
, glib
|
||||
, gtk3
|
||||
, networkmanager
|
||||
, ppp
|
||||
@ -39,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
intltool
|
||||
gettext
|
||||
pkg-config
|
||||
file
|
||||
];
|
||||
@ -48,6 +49,7 @@ stdenv.mkDerivation rec {
|
||||
openfortivpn
|
||||
networkmanager
|
||||
ppp
|
||||
glib
|
||||
] ++ stdenv.lib.optionals withGnome [
|
||||
gtk3
|
||||
libsecret
|
||||
@ -55,7 +57,6 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--without-libnm-glib"
|
||||
"--with-gnome=${if withGnome then "yes" else "no"}"
|
||||
"--localstatedir=/var"
|
||||
"--enable-absolute-paths"
|
||||
|
Loading…
Reference in New Issue
Block a user