From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Packaging leiningen (feedback desired) Date: Wed, 08 Feb 2017 16:53:22 +0100 Message-ID: <877f50el34.fsf@elephly.net> References: <877f52he4j.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> <20170207091919.21e66586@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbUYy-0001MR-GJ for guix-devel@gnu.org; Wed, 08 Feb 2017 10:53:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbUYu-000296-Kn for guix-devel@gnu.org; Wed, 08 Feb 2017 10:53:44 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbUYu-00028h-Ds for guix-devel@gnu.org; Wed, 08 Feb 2017 10:53:40 -0500 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: Catonano Cc: guix-devel , alex.ter.weele@gmail.com Catonano writes: > 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. I’d like to avoid propagating inputs. Could we add a wrapper instead? The wrapper would set the appropriate environment variables and retain a reference to the JVM. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net