gnu: xe: Fix cross-compilation.

* gnu/packages/parallel.scm (xe): Fix cross-compilation.
[arguments]: Use Gexp.

Change-Id: I937acbba1cb5ba0f04976121f06d01789caed456
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Zheng Junjie 2024-03-23 20:46:28 +08:00 committed by Christopher Baines
parent 82fe02130e
commit 46000846de
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 6 additions and 5 deletions

View File

@ -12,6 +12,7 @@
;;; Copyright © 2019-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -143,11 +144,11 @@ and they are executed on lists of files, hosts, users or other items.")
(base32 "1ijvf7q5pxk4rlj7p9q6fmpdqiwmc28gffkk6yg390k1a1z3msf9"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" %output))
#:phases (modify-phases %standard-phases
(delete 'configure))))
(list #:tests? #f
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))
#:phases #~(modify-phases %standard-phases
(delete 'configure))))
(synopsis "Execute a command for every argument")
(description
"The xe utility constructs command lines from specified arguments,