mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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:
commit
4ce5750c0c
@ -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;
|
||||
|
@ -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}
|
||||
|
||||
'' +
|
||||
|
Loading…
Reference in New Issue
Block a user