Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-24.05] dbeaver-bin: fix crash at startup #335923

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion pkgs/by-name/db/dbeaver-bin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
, gnused
, autoPatchelfHook
, wrapGAppsHook3
, gtk3
, glib
, swt
}:

stdenvNoCC.mkDerivation (finalAttrs: {
Expand Down Expand Up @@ -46,7 +49,15 @@ stdenvNoCC.mkDerivation (finalAttrs: {
cp -r * $out/opt/dbeaver
makeWrapper $out/opt/dbeaver/dbeaver $out/bin/dbeaver \
--prefix PATH : "${openjdk17}/bin" \
--set JAVA_HOME "${openjdk17.home}"
--set JAVA_HOME "${openjdk17.home}" \
--prefix LD_LIBRARY_PATH : "${
lib.makeLibraryPath [
swt
gtk3
glib
]
}"


mkdir -p $out/share/icons/hicolor/256x256/apps
ln -s $out/opt/dbeaver/dbeaver.png $out/share/icons/hicolor/256x256/apps/dbeaver.png
Expand Down
Loading