From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH v2 1/2] gnu: Add dub. Date: Mon, 23 Jan 2017 23:46:25 +0100 Message-ID: <87inp5l7i6.fsf@gnu.org> References: <20170123182409.16427-1-dannym@scratchpost.org> <20170123182409.16427-2-dannym@scratchpost.org> 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]:55596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVnNf-0000bn-DF for guix-devel@gnu.org; Mon, 23 Jan 2017 17:46:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVnNc-0008Op-Ar for guix-devel@gnu.org; Mon, 23 Jan 2017 17:46:31 -0500 In-Reply-To: <20170123182409.16427-2-dannym@scratchpost.org> (Danny Milosavljevic's message of "Mon, 23 Jan 2017 19:24:08 +0100") 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: Danny Milosavljevic Cc: guix-devel@gnu.org Danny Milosavljevic skribis: > * gnu/packages/ldc.scm (dub): New variable. [...] > + (modify-phases %standard-phases > + (delete 'configure) > + (replace 'build > + (lambda _ > + (zero? (system* "./build.sh")))) > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (outbin (string-append out "/bin"))) > + (mkdir-p outbin) > + (install-file "bin/dub" outbin))))))) Please add #t at the end of this lambda, to denote success. Otherwise LGTM, thanks! Ludo=E2=80=99.