guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2] gnu: u-boot: Use scandir.


From: Ludovic Courtès
Subject: Re: [PATCH v2] gnu: u-boot: Use scandir.
Date: Wed, 01 Feb 2017 23:28:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

> * gnu/packages/u-boot.scm (make-u-boot-package): Modify.

[...]

> +                       (scandir "configs"
> +                         (lambda (file-name)
> +                           (when (string-suffix? "_defconfig" file-name)
> +                             (format #t "- ~A\n"
> +                                     (string-drop-right file-name
> +                                                        suffix-length))))))

There’s still the alignment issue but indent-code.el should be able to
fix it for you.

Otherwise LGTM, thanks!

Ludo’.



reply via email to

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