From efad468f6d51133c967205c8b9fb8e52a8bfd05e Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Mon, 17 Jul 2023 12:10:56 +0800 Subject: gnu: quickjs: Use G-expressions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/javascript.scm (quickjs)[arguments]: Rewrite as G-expressions. Signed-off-by: 宋文武 Change-Id: Ib6b47266a7faf020831653ce205b442f3af35de2 --- gnu/packages/javascript.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 3ec1e5c5a5..a1c0d9ad01 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -836,16 +836,15 @@ roots, or wrestle with obscure build systems.") "06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4")))) (build-system gnu-build-system) (arguments - `(#:make-flags - (list "prefix=" - (string-append "DESTDIR=" %output) - ,@(if (target-riscv64?) '("LDFLAGS=-latomic") '())) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (replace 'check - (lambda _ - (invoke "make" "microbench")))))) + (list #:make-flags + #~(list "prefix=" + (string-append "DESTDIR=" #$output) + #$@(if (target-riscv64?) '("LDFLAGS=-latomic") '())) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'check + (lambda _ + (invoke "make" "microbench")))))) (home-page "https://bellard.org/quickjs/") (synopsis "Small embeddable Javascript engine") (description "QuickJS supports the ES2020 specification including modules, -- cgit v1.2.3