networkmanager-l2tp: fix cross compilation

This commit is contained in:
Colin 2025-01-25 11:05:39 +00:00
parent 250bc427aa
commit d9e07d80e1

View File

@ -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";