aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZheng Junjie <873216071@qq.com>2023-07-17 12:10:56 +0800
committer宋文武 <iyzsong@member.fsf.org>2024-03-19 18:35:44 +0800
commitefad468f6d51133c967205c8b9fb8e52a8bfd05e (patch)
treebb8df1d49f09ae7c8787b179ca86cb8393165ed4 /gnu
parent3c46191abd0ab1e6cf24ddfedafbd9b646989f5c (diff)
downloadguix-efad468f6d51133c967205c8b9fb8e52a8bfd05e.tar.gz
guix-efad468f6d51133c967205c8b9fb8e52a8bfd05e.zip
gnu: quickjs: Use G-expressions.
* gnu/packages/javascript.scm (quickjs)[arguments]: Rewrite as G-expressions. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Change-Id: Ib6b47266a7faf020831653ce205b442f3af35de2
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/javascript.scm19
1 files changed, 9 insertions, 10 deletions
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,