diff options
| author | Zheng Junjie <873216071@qq.com> | 2023-07-17 12:10:56 +0800 |
|---|---|---|
| committer | 宋文武 <iyzsong@member.fsf.org> | 2024-03-19 18:35:44 +0800 |
| commit | efad468f6d51133c967205c8b9fb8e52a8bfd05e (patch) | |
| tree | bb8df1d49f09ae7c8787b179ca86cb8393165ed4 /gnu/packages | |
| parent | 3c46191abd0ab1e6cf24ddfedafbd9b646989f5c (diff) | |
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/packages')
| -rw-r--r-- | gnu/packages/javascript.scm | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 3ec1e5c5a5d..a1c0d9ad01d 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm | |||
| @@ -836,16 +836,15 @@ roots, or wrestle with obscure build systems.") | |||
| 836 | "06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4")))) | 836 | "06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4")))) |
| 837 | (build-system gnu-build-system) | 837 | (build-system gnu-build-system) |
| 838 | (arguments | 838 | (arguments |
| 839 | `(#:make-flags | 839 | (list #:make-flags |
| 840 | (list "prefix=" | 840 | #~(list "prefix=" |
| 841 | (string-append "DESTDIR=" %output) | 841 | (string-append "DESTDIR=" #$output) |
| 842 | ,@(if (target-riscv64?) '("LDFLAGS=-latomic") '())) | 842 | #$@(if (target-riscv64?) '("LDFLAGS=-latomic") '())) |
| 843 | #:phases | 843 | #:phases #~(modify-phases %standard-phases |
| 844 | (modify-phases %standard-phases | 844 | (delete 'configure) |
| 845 | (delete 'configure) | 845 | (replace 'check |
| 846 | (replace 'check | 846 | (lambda _ |
| 847 | (lambda _ | 847 | (invoke "make" "microbench")))))) |
| 848 | (invoke "make" "microbench")))))) | ||
| 849 | (home-page "https://bellard.org/quickjs/") | 848 | (home-page "https://bellard.org/quickjs/") |
| 850 | (synopsis "Small embeddable Javascript engine") | 849 | (synopsis "Small embeddable Javascript engine") |
| 851 | (description "QuickJS supports the ES2020 specification including modules, | 850 | (description "QuickJS supports the ES2020 specification including modules, |
