networkmanager-sstp: fix cross compilation

This commit is contained in:
Colin
2025-01-25 12:40:27 +00:00
parent d9e07d80e1
commit 9d1a41f61c
@@ -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;