From ba88a0bc5438f751e2b809ac9144f429ba7e2f96 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 17 Mar 2023 15:04:01 +0200 Subject: [PATCH] ballerina: fix JAVA_HOME --- pkgs/development/compilers/ballerina/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ballerina/default.nix b/pkgs/development/compilers/ballerina/default.nix index f8dcc907f7ab..a815b6be7089 100644 --- a/pkgs/development/compilers/ballerina/default.nix +++ b/pkgs/development/compilers/ballerina/default.nix @@ -19,7 +19,7 @@ in stdenv.mkDerivation { runHook postInstall ''; preFixup = '' - wrapProgram $out/bin/bal --set JAVA_HOME ${openjdk}/lib/openjdk + wrapProgram $out/bin/bal --set JAVA_HOME ${openjdk} ''; passthru.tests.smokeTest = let