Commit Graph

7 Commits

Author SHA1 Message Date
Moritz Heidkamp
9e2ee4c846 babashka: use upstream version of Clojure tools
As recommended by @borkdude[1], we should use the Clojure tools version included in a particular
upstream release since the code might not always work with more recent versions.

[1]  https://github.com/borkdude/deps.clj/issues/113#issuecomment-1735805109
2023-10-12 11:42:56 +02:00
Thiago Kenji Okada
45eff9d9c7 graalvm-ce: 22.3.1 -> 21.0.0
This initially may look like a downgrade, but this is caused by how
upstream is tagging versions.

Before they would have the GraalVM having its own version (e.g. 22.3.1),
and each version would support multiple JVM versions (e.g. 11, 17, 19).
Now each release supports only one JVM version (e.g.: 21), and they
track the same version as the JVM.

They also changed packaging, making all sub-products (e.g.: GraalPy,
GraalRuby, etc.) standalone, so they do not depend in GraalVM anymore
and have their own version. Thanks to this change, we will need to
repackage everything.

To simplify, this commit will remove all sub-products and only care
about the GraalVM/Native Image (that is back to GraalVM itself) part.
Other commits will re-added each sub-product.

Fix (partial): https://github.com/NixOS/nixpkgs/issues/257292
2023-09-27 10:25:44 +01:00
Thiago Kenji Okada
4ce5750c0c
Merge pull request #253100 from jlesquembre/bb-tools-version
Set default `clojure tools` version used by babashka to the same version provided by Clojure
2023-09-03 12:23:36 +00:00
José Luis Lafuente
d8f8919d39
babashka: 1.3.181 -> 1.3.184 2023-09-03 13:26:10 +02:00
José Luis Lafuente
5869b5d68b
babashka: default to CLJ_TOOLS version provided by Clojure 2023-09-03 13:22:28 +02:00
José Luis Lafuente
2baf2502ea
babashka: make rlwrap optional in wrapper
Fixes #246839
2023-08-10 19:22:39 +02:00
José Luis Lafuente
4a22edafaa
babashka: Add wrapper
To resolve dependecies in `bb.edn` files, Babashka depends on some
Clojure files and Java, see:
https://github.com/borkdude/deps.clj/tree/master#deps_clj_tools_dir

The wrapper also adds rlwrap, as recommended in the Babashka
documentation:
https://book.babashka.org/#_repl

I'm also formatting the file with nixpkgs-fmt
2023-07-03 11:11:17 +02:00