From 46000846de292c25453b7afbb129c1931c118b8d Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 23 Mar 2024 20:46:28 +0800 Subject: [PATCH] gnu: xe: Fix cross-compilation. * gnu/packages/parallel.scm (xe): Fix cross-compilation. [arguments]: Use Gexp. Change-Id: I937acbba1cb5ba0f04976121f06d01789caed456 Signed-off-by: Christopher Baines --- gnu/packages/parallel.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index ddf4ad016b..b2a5648842 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2019-2023 Ludovic Courtès ;;; Copyright © 2020 Roel Janssen ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -143,11 +144,11 @@ (define-public xe (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,