From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH 3/3] gnu: Add openocd. Date: Wed, 26 Oct 2016 14:49:00 +0200 Message-ID: References: <20161025132615.20705-1-theodoros.for@openmailbox.org> <20161025132615.20705-4-theodoros.for@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzNdi-0002Nl-8t for guix-devel@gnu.org; Wed, 26 Oct 2016 08:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzNdd-000704-Q3 for guix-devel@gnu.org; Wed, 26 Oct 2016 08:49:06 -0400 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:34602) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzNdd-0006zg-Lf for guix-devel@gnu.org; Wed, 26 Oct 2016 08:49:01 -0400 Received: by mail-qk0-x242.google.com with SMTP id n189so360276qke.1 for ; Wed, 26 Oct 2016 05:49:01 -0700 (PDT) In-Reply-To: <20161025132615.20705-4-theodoros.for@openmailbox.org> 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: Theodoros Foradis Cc: guix-devel Hi Theodoros, Do we really need this patch? Is there a reason why it hasn't been upstreamed yet? (add-before 'configure 'bootstrap + (lambda _ + (system* "aclocal") + (system* "libtoolize" "--automake" "--copy") + (system* "autoconf") + (system* "autoheader") + (system* "automake" "--gnu" "--add-missing" "--copy") + #t)) Why not (add-before 'configure 'autoreconf (lambda _ (zero? (system* "autoreconf" "-vfi")) I prefer indenting like this as is done in most of the codebase: + (inputs `(("libusb" ,libusb) + ("libusb-compat" ,libusb-compat) + ("libftdi" ,libftdi) + ("hidapi" ,hidapi))) + (native-inputs `(("autoconf" ,autoconf) + ("libtool" ,libtool) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) It would also be nice if the inputs where ordered alphabetically. Thanks for the patch, looking good!! You don't need to resubmit (unless someone else has more objections :). David