Eclipse: add libsecret dependency
eclipse was missing libsecret for keyring integration. fixes #133628
This commit is contained in:
parent
95c7f7ed58
commit
3fa0d94a34
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender
|
{ lib, stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender
|
||||||
, zlib, jdk, glib, gtk, libXtst, gsettings-desktop-schemas, webkitgtk
|
, zlib, jdk, glib, gtk, libXtst, libsecret, gsettings-desktop-schemas, webkitgtk
|
||||||
, makeWrapper, perl, ... }:
|
, makeWrapper, perl, ... }:
|
||||||
|
|
||||||
{ name, src ? builtins.getAttr stdenv.hostPlatform.system sources, sources ? null, description }:
|
{ name, src ? builtins.getAttr stdenv.hostPlatform.system sources, sources ? null, description }:
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
fontconfig freetype glib gsettings-desktop-schemas gtk jdk libX11
|
fontconfig freetype glib gsettings-desktop-schemas gtk jdk libX11
|
||||||
libXrender libXtst makeWrapper zlib
|
libXrender libXtst libsecret makeWrapper zlib
|
||||||
] ++ lib.optional (webkitgtk != null) webkitgtk;
|
] ++ lib.optional (webkitgtk != null) webkitgtk;
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
||||||
--prefix PATH : ${jdk}/bin \
|
--prefix PATH : ${jdk}/bin \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk libXtst ] ++ lib.optional (webkitgtk != null) webkitgtk)} \
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk libXtst libsecret ] ++ lib.optional (webkitgtk != null) webkitgtk)} \
|
||||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
||||||
--add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration"
|
--add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue