From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add erlang. Date: Sun, 21 Feb 2016 21:54:45 +0100 Message-ID: <87io1hvl62.fsf@gnu.org> References: <20160104043952.GA29303@jasmine> <877fjpzi07.fsf@igalia.com> <87wprmg088.fsf@gnu.org> <87y4c1ww4y.fsf@igalia.com> <20160213004446.GB13163@jasmine> <20160213231244.1ecfb8be@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXb1n-0004nl-V4 for guix-devel@gnu.org; Sun, 21 Feb 2016 15:54:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXb1k-0007MG-L9 for guix-devel@gnu.org; Sun, 21 Feb 2016 15:54:51 -0500 In-Reply-To: <20160213231244.1ecfb8be@debian-netbook> (Efraim Flashner's message of "Sat, 13 Feb 2016 23:12:44 +0200") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Efraim Flashner Cc: guix-devel@gnu.org Efraim Flashner skribis: > On Fri, 12 Feb 2016 19:44:46 -0500 > Leo Famulari wrote: > >> On Sat, Feb 06, 2016 at 12:45:39PM -0800, Steve Sprang wrote: >> > It looks like downloading the tarball from erlang.org works now. >> > Here's an improved patch.=20=20 >> > + (lambda* _ >> > + (let ((escripts >> > + (append >> > + (find-files "." "\\.escript") >> > + (find-files "lib/stdlib/test/escript_SUITE_data/") >> > + '("erts/lib_src/utils/make_atomics_api" >> > + "erts/preloaded/src/add_abstract_code" >> > + "lib/diameter/bin/diameterc" >> > + "lib/reltool/examples/display_args" >> > + "lib/reltool/examples/mnesia_core_dump_viewer" >> > + "lib/snmp/src/compile/snmpc.src" >> > + "make/verify_runtime_dependencies" >> > + "make/emd2exml.in")))) >> > + (substitute* escripts >> > + (("/usr/bin/env") (which "env")))))) >> > + (add-before >> > + 'configure 'set-erl-top >> > + (lambda* _ >> > + (setenv "ERL_TOP" (getcwd)))))=20=20 >>=20 >> I _think_ that 'lambda _' would be appropriate here. I need a real >> Schemer to weigh in ;) >>=20 > > I'm definately not a "real schemer," but since the lambda only leads into= the > let (ie. one item), I'm pretty sure 'lambda _' should be sufficient. Correct. =E2=80=98lambda*=E2=80=99 is for when one wants to use optional o= r keyword arguments (info "(guile) lambda* and define*"). Ludo=E2=80=99.