Subject: Clojure: Couldn't find 'java'. Please set JAVA_HOME.

From: "Brennan Vincent" <[email-masked]>
Date: Tue, 17 Sep 2024 11:02:08 -0400

Trying to run clojure in clojure-tools doesn't work:

$ guix shell --pure clojure-tools -- clojure
Couldn't find 'java'. Please set JAVA_HOME.

This comes closer:

$ guix shell --pure clojure-tools openjdk -- clojure
/gnu/store/v11866kb8y4rznf0b45zblvn718spnb6-profile/bin/clojure: line
285: mkdir: command not found

This works:

$ guix shell --pure clojure-tools openjdk coreutils -- clojure

So I guess we need to add openjdk and coreutils to the dependencies of clojure-tools.