~ruther/guix-local

efad468f6d51133c967205c8b9fb8e52a8bfd05e — Zheng Junjie 2 years ago 3c46191
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
1 files changed, 9 insertions(+), 10 deletions(-)

M gnu/packages/javascript.scm
M gnu/packages/javascript.scm => gnu/packages/javascript.scm +9 -10
@@ 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,