summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-05-09 23:13:27 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-05-09 23:30:02 +0300
commit05d4f2435b32b1d91c4b4589ba7c6571e180e2b6 (patch)
tree7ec7a0e874339e14036112720c89a7f4a80bc320
parent0ec70c2c79893114ea558a9c4d3cc3610dba8b19 (diff)
downloadguix-05d4f2435b32b1d91c4b4589ba7c6571e180e2b6.tar.gz
gnu: mujs: Use G-expressions.
* gnu/packages/javascript.scm (mujs)[arguments]: Rewrite using
G-expressions.
-rw-r--r--gnu/packages/javascript.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 70c1b11dd1..8ab8c46cd3 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -701,16 +701,17 @@ external server.")
                             "one.c"))))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (delete 'configure)  ; no configure script
-         (replace 'install
-           (lambda* (#:key (make-flags '()) #:allow-other-keys)
-             (apply invoke "make" "install-shared" make-flags))))
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (delete 'configure)          ; no configure script
+           (replace 'install
+             (lambda* (#:key (make-flags '()) #:allow-other-keys)
+               (apply invoke "make" "install-shared" make-flags))))
        #:make-flags
-       (list ,(string-append "VERSION=" version)
-             ,(string-append "CC=" (cc-for-target))
-             (string-append "prefix=" (assoc-ref %outputs "out")))
+       #~(list (string-append "VERSION=" #$version)
+               (string-append "CC=" #$(cc-for-target))
+               (string-append "prefix=" #$output))
        #:tests? #f))                    ; no tests
     (inputs
      (list readline))