gexp: Use cross extensions when cross-compiling.
authorMathieu Othacehe <m.othacehe@gmail.com>
Sun, 18 Aug 2019 09:00:23 +0000 (11:00 +0200)
committerMathieu Othacehe <m.othacehe@gmail.com>
Mon, 14 Oct 2019 07:59:04 +0000 (09:59 +0200)
* guix/gexp.scm (load-path-expression): Use ungexp-splicing instead of
ungexp-native-splicing so that the cross extensions are used when target is
set.

guix/gexp.scm

index 600750e..7323277 100644 (file)
@@ -1508,7 +1508,7 @@ are searched for in PATH.  Return #f when MODULES and EXTENSIONS are empty."
          (gexp (eval-when (expand load eval)
                  ;; Augment the load paths and delete duplicates.  Do that
                  ;; without loading (srfi srfi-1) or anything.
-                 (let ((extensions '((ungexp-native-splicing extensions)))
+                 (let ((extensions '((ungexp-splicing extensions)))
                        (prepend (lambda (items lst)
                                   ;; This is O(N²) but N is typically small.
                                   (let loop ((items items)