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:
Zheng Junjie 2023-07-17 12:10:56 +08:00 committed by 宋文武
parent 3c46191abd
commit efad468f6d
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -836,12 +836,11 @@ (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
(list #:make-flags
#~(list "prefix="
(string-append "DESTDIR=" #$output)
#$@(if (target-riscv64?) '("LDFLAGS=-latomic") '()))
#:phases #~(modify-phases %standard-phases
(delete 'configure)
(replace 'check
(lambda _