From fe39068e043e78fba7db43cb352609553c7a131a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Wed, 30 Nov 2022 15:48:13 -0600 Subject: [PATCH] =?UTF-8?q?dbeaver:=20fix=20build=20(jdk=20=E2=86=92=20jdk?= =?UTF-8?q?17)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is currently a build issue with jdk19 (the new default from 17 after 2022-11-30; https://github.com/NixOS/nixpkgs/pull/199802) --- pkgs/applications/misc/dbeaver/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/dbeaver/default.nix b/pkgs/applications/misc/dbeaver/default.nix index e003787efc46..07d0534f0734 100644 --- a/pkgs/applications/misc/dbeaver/default.nix +++ b/pkgs/applications/misc/dbeaver/default.nix @@ -8,7 +8,7 @@ , freetype , glib , gtk3 -, jdk +, jdk17 , libX11 , libXrender , libXtst @@ -46,7 +46,7 @@ freetype glib gtk3 - jdk + jdk17 libX11 libXrender libXtst @@ -92,8 +92,8 @@ ln -s $out/Applications/DBeaver.app/Contents/MacOS/dbeaver $out/bin/dbeaver wrapProgram $out/Applications/DBeaver.app/Contents/MacOS/dbeaver \ - --prefix JAVA_HOME : ${jdk.home} \ - --prefix PATH : ${jdk}/bin + --prefix JAVA_HOME : ${jdk17.home} \ + --prefix PATH : ${jdk17}/bin runHook postInstall '' else '' @@ -107,7 +107,7 @@ patchelf --set-interpreter $interpreter $out/dbeaver/dbeaver makeWrapper $out/dbeaver/dbeaver $out/bin/dbeaver \ - --prefix PATH : ${jdk}/bin \ + --prefix PATH : ${jdk17}/bin \ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk3 libXtst webkitgtk_4_1 glib-networking ])} \ --prefix GIO_EXTRA_MODULES : "${glib-networking}/lib/gio/modules" \ --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"