From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: Packaging leiningen (feedback desired) Date: Wed, 8 Feb 2017 01:01:54 +0100 Message-ID: References: <877f52he4j.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> <20170207091919.21e66586@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1144284a97fd2a0547f9925c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbFhw-0001rp-IP for guix-devel@gnu.org; Tue, 07 Feb 2017 19:02:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbFhv-0000oh-9R for guix-devel@gnu.org; Tue, 07 Feb 2017 19:02:00 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:36147) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbFhv-0000nj-3Y for guix-devel@gnu.org; Tue, 07 Feb 2017 19:01:59 -0500 Received: by mail-wm0-x22f.google.com with SMTP id c85so181902738wmi.1 for ; Tue, 07 Feb 2017 16:01:56 -0800 (PST) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ben Woodcroft Cc: guix-devel , alex.ter.weele@gmail.com --001a1144284a97fd2a0547f9925c Content-Type: text/plain; charset=UTF-8 2017-02-08 0:00 GMT+01:00 Ben Woodcroft : > Hi Danny, Alex, > > > On 07/02/17 18:19, Danny Milosavljevic wrote: > >> Hmmm... works for me with: >> >> $ java -cp "${HOME}/.guix-profile/share/java/clojure-1.8.0.jar" >> clojure.main >> >> (Note: java -> /gnu/store/4lnjmsr4szhqyixy238xjl83k8h5f0ck-icedtea-3.2.0/ >> bin/java) >> >> Also works within guix environment --ad-hoc clojure. >> > I was unable to use that command with that exact environment (clojure > doesn't propagate any java), but it does work when icedtea is added i.e. > > guix environment --container --ad-hoc clojure icedtea > > I'm not expert enough to comment on whether the clojure package itself > needs to be changed, but this is a workaround at least. > ben > > > > > The Clojure compilation target is the Jvm. Any Clojure based software needs a Jvm in order to run And the Clojure REPL is a Clojure based program. Without a Jvm it won' t run. I don' t remember now if the compiler is written in Java or in Clojure. Anyway, the compiler too needs a Jvm in order to run. That is to say that as far as I understand both Clojure and Guix, a Java runtime should be a propagated input of any Clojure package. --001a1144284a97fd2a0547f9925c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

--001a1144284a97fd2a0547f9925c--