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
libsoup_3
webkitgtk_4_1
glib-networking
openssl
];
nativeBuildInputs =
@@ -85,6 +87,7 @@
]
++ lib.optionals stdenv.isLinux [
autoPatchelfHook
wrapGAppsHook4
];
runtimeDependencies =
@@ -92,8 +95,16 @@
[ ]
++ lib.optionals stdenv.isLinux [
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 =
{ ... }:
{