gpauth: fix runtime TLS support

The embedded WebKit browser requires glib-networking's GIO TLS
backend. Add glib-networking and wrapGAppsHook3 so gpauth discovers
the module through GIO_EXTRA_MODULES instead of falling back to
GDummyTlsBackend.

Assisted-by: pi (OpenAI GPT-5 Codex)
(cherry picked from commit 56136b214f)
This commit is contained in:
Artem Timofeev
2026-09-17 10:00:26 +00:00
committed by github-actions[bot]
parent 7bd422bd83
commit c385fdaff9

View File

@@ -2,10 +2,12 @@
rustPlatform,
lib,
fetchFromGitHub,
glib-networking,
openssl,
pkg-config,
perl,
webkitgtk_4_1,
wrapGAppsHook3,
stdenv,
nix-update-script,
}:
@@ -29,11 +31,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [
perl
pkg-config
]
++ lib.optionals stdenv.hostPlatform.isLinux [
wrapGAppsHook3
];
buildInputs = [
openssl
]
++ lib.optionals stdenv.hostPlatform.isLinux [
glib-networking
webkitgtk_4_1
];