guix-patches
[Top][All Lists]
Advanced

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

[bug#49327] [PATCH core-updates 000/128] Add 'bash' input for 'wrap-prog


From: Ludovic Courtès
Subject: [bug#49327] [PATCH core-updates 000/128] Add 'bash' input for 'wrap-program'.
Date: Thu, 08 Jul 2021 15:35:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi!

Maxime Devos <maximedevos@telenet.be> skribis:

> * gnu/packages/package-management.scm
>   (guix-build-coordinator)[arguments]<#:phases>{wrap-executable}:
>   Set #:sh argument of 'wrap-program'. Don't substitute the interpreter
>   with another interpreter. Drop the 'target' argument.
>   (guix-build-coordinator)[inputs]{bash}: Make this input unconditional.

[...]

> +                      (bash (assoc-ref inputs "bash"))
>                        (version (target-guile-effective-version))
>                        (scm (string-append out "/share/guile/site/" version))
>                        (go  (string-append out "/lib/guile/" version 
> "/site-ccache")))
> @@ -1079,7 +1081,7 @@ environments.")
>                                           ,@(if (hurd-target?)
>                                                 '()
>                                                 '("guile-fibers")))))
> -                      (wrap-program file
> +                      (wrap-program file #:sh (string-append bash 
> "/bin/bash")

I think we should write:

  (search-input-file inputs "/bin/bash")

in such cases from now on, rather than (assoc-ref inputs …) & co.

Ludo’.





reply via email to

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