summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-07-19 23:27:20 +0200
committerLudovic Courtès <ludo@gnu.org>2022-07-19 23:27:20 +0200
commit5dfc6ab1ab292b87ceea144aa661d0e64c834031 (patch)
tree6d5ad9da8e4b6a5e21d47553cfaeea50e32c45e1
parentb09e968667cd7f690e4f05b088a5a515b0018899 (diff)
downloadguix-5dfc6ab1ab292b87ceea144aa661d0e64c834031.tar.gz
build-system/mozilla: Fix typo in the cross-compilation case.
Fixes <https://issues.guix.gnu.org/56633>.
Reported by Marius Bakke <marius@gnu.org>.

* guix/build-system/mozilla.scm (lower-mozilla): Pass NAME as the first
argument to LOWER when TARGET is true.
-rw-r--r--guix/build-system/mozilla.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build-system/mozilla.scm b/guix/build-system/mozilla.scm
index b4141c8177..bead1bf5bb 100644
--- a/guix/build-system/mozilla.scm
+++ b/guix/build-system/mozilla.scm
@@ -33,7 +33,7 @@
                         #:rest arguments)
   (define lower (build-system-lower gnu-build-system))
   (if target
-      (apply lower
+      (apply lower name
              (substitute-keyword-arguments arguments
                ;; Override --target and --host to what Mozillian configure
                ;; scripts expect.