me
/
guix
Archived
1
0
Fork 0

gnu: mujs: Use G-expressions.

* gnu/packages/javascript.scm (mujs)[arguments]: Rewrite using
G-expressions.
Efraim Flashner 2022-05-09 23:13:27 +03:00
parent 0ec70c2c79
commit 05d4f2435b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 10 additions and 9 deletions

View File

@ -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))