fix: add glib-networking and openssl to runtime and build inputs

This commit is contained in:
Kevin Yue committed 2026-03-19 23:20:07 +08:00
1 parent d241d48f52
commit d7ec1c16a2
1 file changed
+11
+11
View File
@@ -73,6 +73,8 @@
gtk3 gtk3
libsoup_3 libsoup_3
webkitgtk_4_1 webkitgtk_4_1
glib-networking
openssl
]; ];
nativeBuildInputs = nativeBuildInputs =
@@ -85,6 +87,7 @@
] ]
++ lib.optionals stdenv.isLinux [ ++ lib.optionals stdenv.isLinux [
autoPatchelfHook autoPatchelfHook
wrapGAppsHook4
]; ];
runtimeDependencies = runtimeDependencies =
@@ -92,8 +95,16 @@
[ ] [ ]
++ lib.optionals stdenv.isLinux [ ++ lib.optionals stdenv.isLinux [
libappindicator-gtk3 libappindicator-gtk3
glib-networking
]; ];
# optional but very useful on NixOS
preFixup = lib.optionalString stdenv.isLinux ''
gappsWrapperArgs+=(
--set-default GIO_EXTRA_MODULES "${pkgs.glib-networking}/lib/gio/modules"
)
'';
overrideMain = overrideMain =
{ ... }: { ... }:
{ {