Merge pull request #253100 from jlesquembre/bb-tools-version

Set default `clojure tools` version used by babashka to the same version provided by Clojure
This commit is contained in:
Thiago Kenji Okada 2023-09-03 12:23:36 +00:00 committed by GitHub
commit 4ce5750c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -8,11 +8,11 @@
buildGraalvmNativeImage rec {
pname = "babashka-unwrapped";
version = "1.3.181";
version = "1.3.184";
src = fetchurl {
url = "https://github.com/babashka/babashka/releases/download/v${version}/babashka-${version}-standalone.jar";
sha256 = "sha256-NzchlHRxOCSyUf9U0Jv8h4bgKd2Jwp+LmxIfeV8+8+M=";
sha256 = "sha256-O3pLELYmuuB+Bf1vHTWQ+u7Ymi3qYiMRpCwvEq+GeBQ=";
};
graalvmDrv = graalvmCEPackages.graalvm19-ce;

View File

@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
makeWrapper "${babashka-unwrapped}/bin/bb" "$out/bin/bb" \
--inherit-argv0 \
--set-default DEPS_CLJ_TOOLS_DIR $out/clojure_tools \
--set-default DEPS_CLJ_TOOLS_VERSION ${clojure.version} \
--set-default JAVA_HOME ${jdkBabashka}
'' +