Subject: [bug#55118] [PATCH] gnu: Add phoronix-test-suite.

From: Maxime Devos <[email-masked]>
Date: Tue, 26 Apr 2022 09:14:19 +0200

phodina via Guix-patches via schreef op di 26-04-2022 om 03:53 [+0000]:
> +                       `("PATH" ":" prefix
> +                         ,(map (lambda (dir)
> +                                 (string-append dir "/bin:" dir
> +                                                "/sbin"))
> +                               (list #$(this-package-input "php")
> +                                     #$(this-package-input "sed")
> +                                     #$(this-package-input
> "which")))))

To allow for inputs with changed names and avoid input labels, maybe:

  `("PATH" ":" prefix
    ,(map (lambda (binary)
            (dirname (search-input-file (string-append "bin/" binary))))
          '("php" "sed" "which")))

?

Greetings,
Maxime.