GNU bug report logs - #56119
[PATCH] gnu: Add phoronix-test-suite.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Tue, 21 Jun 2022 05:21:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 56119 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 56119 <at> debbugs.gnu.org
Subject: Re: [bug#56119] [PATCH] gnu: Add phoronix-test-suite.
Date: Tue, 21 Jun 2022 11:51:28 +0200
[Message part 1 (text/plain, inline)]
Maxim Cournoyer schreef op di 21-06-2022 om 01:20 [-0400]:
> +                (wrap-program pts
> +                  (list "PATH" 'prefix
> +                        (list (string-append #$(this-package-input "bash")
> +                                             "/bin")
> +                              (string-append #$(this-package-input "coreutils")
> +                                             "/bin")
> +                              (string-append #$(this-package-input "gzip")
> +                                             "/bin")
> +                              (string-append #$(this-package-input "make")
> +                                             "/bin")
> +                              (string-append #$(this-package-input "php")
> +                                             "/bin")
> +                              (string-append #$(this-package-input "sed")
> +                                             "/bin")
> +                              (string-append #$(this-package-input "tar")
> +                                             "/bin")
> +                              (string-append #$(this-package-input "which")
> +                                             "/bin"))))))))))

Can be simplified and delabelified (untested):

(list "PATH" 'prefix
      (map (lambda (binary)
             (search-input-file inputs (string-append "bin/" binary)))
           '("bash" "tar" "which" "cat" "gzip" [...])))

(Only looked at the phases)

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.