gnu: icedove-l10n: Fix build.

Fixes <https://issues.guix.gnu.org/73192>

* gnu/packages/gnuzilla.scm (make-l10n-package)[arguments]<#:phases>:
On 'build phase unconditionally use 'system*' to invoke 'mach', as
'invoke' does not work for icedove any longer.

Reported-by: bdju <bdju@tilde.team>.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
André Batista 2024-09-19 19:39:05 -03:00 committed by Jonathan Brielmaier
parent b7c94d5288
commit fc059c66cf
No known key found for this signature in database
GPG Key ID: ECFC83988B4E4B9F

View File

@ -1684,13 +1684,11 @@ their corresponding VERSION, SOURCE and LOCALES variables."
'thunderbird 'thunderbird
'#$project)))) '#$project))))
(format #t "processing locale `~a'...~%" l) (format #t "processing locale `~a'...~%" l)
(if (eq? 'icecat '#$project) ;; XXX: For some reasons, on version 115, there are some
;; XXX: For some reasons, for IceCat, there are some
;; parsing errors that cause the build system to ;; parsing errors that cause the build system to
;; return an unclean exit code; use system* to ignore ;; return an unclean exit code; use system* to ignore
;; errors. ;; errors.
(system* "./mach" "build" (string-append "langpack-" l)) (system* "./mach" "build" (string-append "langpack-" l))
(invoke "./mach" "build" (string-append "langpack-" l)))
(mkdir-p ext-dir) (mkdir-p ext-dir)
(let ((xpi (find-file "obj" (string-append (let ((xpi (find-file "obj" (string-append
"\\." l "\\.langpack\\.xpi$")))) "\\." l "\\.langpack\\.xpi$"))))