networkmanager-{l2tp,openconnect,openvpn,sstp}: fix cross compilation (#376687)

This commit is contained in:
misuzu
2025-01-28 16:54:32 +02:00
committed by GitHub
4 changed files with 27 additions and 14 deletions
@@ -38,16 +38,20 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
nativeBuildInputs =
[
autoreconfHook
glib # for gdbus-codegen
pkg-config
]
++ lib.optionals withGnome [
gtk4 # for gtk4-builder-tool
];
buildInputs =
[
networkmanager
ppp
glib
openssl
nss
]
@@ -67,6 +71,7 @@ stdenv.mkDerivation rec {
];
enableParallelBuilding = true;
strictDeps = true;
passthru = {
networkManagerPlugin = "VPN/nm-l2tp-service.name";
@@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
buildInputs =
[
glib
libxml2
openconnect
networkmanager
@@ -55,6 +54,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [
glib
intltool
pkg-config
file
@@ -37,6 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
gettext
glib
pkg-config
file
libxml2
@@ -46,7 +47,6 @@ stdenv.mkDerivation (finalAttrs: {
[
openvpn
networkmanager
glib
]
++ lib.optionals withGnome [
gtk3
@@ -63,6 +63,8 @@ stdenv.mkDerivation (finalAttrs: {
"--enable-absolute-paths"
];
strictDeps = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "NetworkManager-openvpn";
@@ -29,18 +29,22 @@ stdenv.mkDerivation rec {
sha256 = "sha256-zd+g86cZLyibLhYLal6XzUb9wFu7kHROp0KzRM95Qng=";
};
nativeBuildInputs = [
autoreconfHook
file
gettext
pkg-config
];
nativeBuildInputs =
[
autoreconfHook
file
gettext
glib # for gdbus-codegen
pkg-config
]
++ lib.optionals withGnome [
gtk4 # for gtk4-builder-tool
];
buildInputs =
[
sstp
networkmanager
glib
ppp
]
++ lib.optionals withGnome [
@@ -63,6 +67,8 @@ stdenv.mkDerivation rec {
"--enable-absolute-paths"
];
strictDeps = true;
passthru = {
updateScript = gnome.updateScript {
packageName = pname;