about summary refs log tree commit diff
path: root/pkgs/applications/editors/eclipse
diff options
context:
space:
mode:
authorc0bw3b <c0bw3b@users.noreply.github.com>2022-02-26 19:48:11 +0100
committerc0bw3b <c0bw3b@users.noreply.github.com>2022-02-26 19:48:11 +0100
commitca57cf280bc473a3b7346fd1bc5b73a083c822aa (patch)
treee9b0a926f64f9eee5eb6cdbfc91a1a5751e16cff /pkgs/applications/editors/eclipse
parentbc5cf3afe93ef43b76694b34d54ebf02ed1067dc (diff)
eclipses.eclipse-java: fix browsing on https pages
It needs `glib-networking` for TLS support

Fixes #106455
Closes #127786

Co-authored-by: Niklaus Giger <niklaus.giger@member.fsf.org>
Diffstat (limited to 'pkgs/applications/editors/eclipse')
-rw-r--r--pkgs/applications/editors/eclipse/build-eclipse.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/editors/eclipse/build-eclipse.nix b/pkgs/applications/editors/eclipse/build-eclipse.nix
index faa89b9c87781..3b497f34a439a 100644
--- a/pkgs/applications/editors/eclipse/build-eclipse.nix
+++ b/pkgs/applications/editors/eclipse/build-eclipse.nix
@@ -1,5 +1,5 @@
 { lib, stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender
-, zlib, jdk, glib, gtk, libXtst, libsecret, gsettings-desktop-schemas, webkitgtk
+, zlib, jdk, glib, glib-networking, gtk, libXtst, libsecret, gsettings-desktop-schemas, webkitgtk
 , makeWrapper, perl, ... }:
 
 { name, src ? builtins.getAttr stdenv.hostPlatform.system sources, sources ? null, description, productVersion }:
@@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
     makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
       --prefix PATH : ${jdk}/bin \
       --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk libXtst libsecret ] ++ lib.optional (webkitgtk != null) webkitgtk)} \
+      --prefix GIO_EXTRA_MODULES : "${glib-networking}/lib/gio/modules" \
       --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
       --add-flags "-configuration \$HOME/.eclipse/''${productId}_${productVersion}/configuration"