guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnunet-svn, gnunet-gtk-svn


From: Alex Kost
Subject: Re: [PATCH] gnunet-svn, gnunet-gtk-svn
Date: Fri, 19 Aug 2016 10:13:05 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

ng0 (2016-08-07 11:21 +0300) wrote:

[...]
> +      (arguments
> +       '(#:configure-flags
> +         (list (string-append "--with-nssdir=" %output "/lib"))
> +         #:parallel-tests? #f ; parallel building is not functional
> +         #:tests? #f ; FAIL: test_testbed_logger_api
> +         #:phases
> +         ;; swap check and install phases and set paths to installed bin
> +         (modify-phases %standard-phases
> +           (add-after 'unpack 'patch-bin-sh
> +             (lambda _
> +               (and
> +                (substitute* '("bootstrap")

I think there is no point to use list here as it is a single file.

> +                  (("contrib/pogen.sh") "sh contrib/pogen.sh"))
> +                (for-each (lambda (f) (chmod f #o755))
> +                          (find-files "po" "")))))

'and' shouldn't be used in this phase as both 'substitute*' and
'for-each' do not specify the returned value, so:

  (lambda _
    (substitute* "bootstrap"
      (("contrib/pogen.sh") "sh contrib/pogen.sh"))
    (for-each (lambda (f) (chmod f #o755))
              (find-files "po" ""))
    #t)

I didn't build this package, I was just passing by and noticed those
small things.  I hope someone else will review and commit this patch :-)

-- 
Alex



reply via email to

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