mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-17 13:46:27 -05:00
fix: add glib-networking and openssl to runtime and build inputs
This commit is contained in:
1 file changed
+11
@@ -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 =
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user