mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
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
This commit is contained in:
parent
3c46191abd
commit
efad468f6d
1 changed files with 9 additions and 10 deletions
|
@ -836,16 +836,15 @@ (define-public quickjs
|
|||
"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,
|
||||
|
|
Loading…
Reference in a new issue