mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-20 06:56:17 -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
|
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 =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user