unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Ben Sturmfels <ben@stumbles.id.au>
Cc: 32709@debbugs.gnu.org
Subject: bug#32709: Clojure doesn't provide "clojure" executable
Date: Thu, 13 Sep 2018 22:15:28 +0200	[thread overview]
Message-ID: <878t456tnj.fsf@elephly.net> (raw)
In-Reply-To: <874leva358.fsf@sturm.com.au>


Hi Ben,

> When I install the "clojure" package, I can't seem to just run `clojure`
> and get an interpreter like I would on Debian.
>
> My Java is a bit rusty, but I found I could get it going by installing the "icedtea" package and running:
>
>   java -cp ~/.guix-profile/share/java/clojure-1.9.0.jar clojure.main
>
> or
>
>   java -jar ~/.guix-profile/share/java/clojure-1.9.0.jar
>
> which is a bit of a mouthful.

It is, but this is what upstream tells us to run after building the
package.  Neither pom.xml (for Maven) nor build.xml (for Ant) contain
targets that generate a shell wrapper.

It looks like adding a shell wrapper is a decision that was taken by
Debian and is not what upstream does.  So this is not due to a defect in
the ant-build-system.

To address this we may want to add a wrapper in a custom build phase.

--
Ricardo

  reply	other threads:[~2018-09-13 20:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-12  1:57 bug#32709: Clojure doesn't provide "clojure" executable Ben Sturmfels
2018-09-13 20:15 ` Ricardo Wurmus [this message]
2018-12-13  3:08   ` Ben Sturmfels
2018-12-13  5:36     ` Ben Sturmfels
2020-12-07  0:22       ` Ben Sturmfels

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=878t456tnj.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=32709@debbugs.gnu.org \
    --cc=ben@stumbles.id.au \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).