all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Catonano <catonano@gmail.com>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: guix-devel <guix-devel@gnu.org>, alex.ter.weele@gmail.com
Subject: Re: Packaging leiningen (feedback desired)
Date: Wed, 8 Feb 2017 01:01:54 +0100	[thread overview]
Message-ID: <CAJ98PDxx4894nQpukcUORjdzEkuEA6fLAJE_1MPKqWT86b5c8w@mail.gmail.com> (raw)
In-Reply-To: <a8b78a39-6823-5c20-4bb4-f8176c33fd8c@uq.edu.au>

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

2017-02-08 0:00 GMT+01:00 Ben Woodcroft <b.woodcroft@uq.edu.au>:

> 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.

[-- Attachment #2: Type: text/html, Size: 1985 bytes --]

  reply	other threads:[~2017-02-08  0:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07  3:30 Packaging leiningen (feedback desired) alex.ter.weele
2017-02-07  8:19 ` Danny Milosavljevic
2017-02-07 23:00   ` Ben Woodcroft
2017-02-08  0:01     ` Catonano [this message]
2017-02-08 15:53       ` Ricardo Wurmus
2017-02-08 16:37         ` Catonano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ98PDxx4894nQpukcUORjdzEkuEA6fLAJE_1MPKqWT86b5c8w@mail.gmail.com \
    --to=catonano@gmail.com \
    --cc=alex.ter.weele@gmail.com \
    --cc=b.woodcroft@uq.edu.au \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.