Subject: [bug#36477] [PATCH v4 18/23] gexp: Use cross extensions when cross-compiling.

From: Mathieu Othacehe <[email-masked]>
Date: Wed, 2 Oct 2019 16:47:46 +0200

I forget the commit message. It would be:

* guix/gexp.scm (load-path-expression): Use ungexp-splicing instead of
ungexp-native-splicing
so that the cross modules are used when target is set.

Mathieu

Le mer. 2 oct. 2019 à 11:59, Mathieu Othacehe <[email-masked]> a écrit :
>
> ---
>  guix/gexp.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/guix/gexp.scm b/guix/gexp.scm
> index d9bdde2e42..514422cb08 100644
> --- a/guix/gexp.scm
> +++ b/guix/gexp.scm
> @@ -1513,7 +1513,7 @@ are searched for in PATH.  Return #f when MODULES and EXTENSIONS are empty."
>                                                 (string-append extension
>                                                                "/share/guile/site/"
>                                                                (effective-version)))
> -                                             '((ungexp-native-splicing extensions)))
> +                                             '((ungexp-splicing extensions)))
>                                          %load-path)))
>                          (set! %load-compiled-path
>                            (cons (ungexp compiled)
> @@ -1522,7 +1522,7 @@ are searched for in PATH.  Return #f when MODULES and EXTENSIONS are empty."
>                                                                "/lib/guile/"
>                                                                (effective-version)
>                                                                "/site-ccache"))
> -                                             '((ungexp-native-splicing extensions)))
> +                                             '((ungexp-splicing extensions)))
>                                          %load-compiled-path)))))))))
>
>  (define* (gexp->script name exp
> --
> 2.23.0
>