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.
This commit is contained in:
Ludovic Courtès 2022-07-19 23:27:20 +02:00
parent b09e968667
commit 5dfc6ab1ab
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -33,7 +33,7 @@ (define* (lower-mozilla name #:key system target #:allow-other-keys
#: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.