guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] gnu: Add openocd.


From: David Craven
Subject: Re: [PATCH 3/3] gnu: Add openocd.
Date: Wed, 26 Oct 2016 14:49:00 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]