mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mujs: Use G-expressions.
* gnu/packages/javascript.scm (mujs)[arguments]: Rewrite using G-expressions.
This commit is contained in:
parent
0ec70c2c79
commit
05d4f2435b
1 changed files with 10 additions and 9 deletions
|
@ -701,16 +701,17 @@ external server.")
|
||||||
"one.c"))))))
|
"one.c"))))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(delete 'configure) ; no configure script
|
#~(modify-phases %standard-phases
|
||||||
(replace 'install
|
(delete 'configure) ; no configure script
|
||||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
(replace 'install
|
||||||
(apply invoke "make" "install-shared" make-flags))))
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
|
(apply invoke "make" "install-shared" make-flags))))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list ,(string-append "VERSION=" version)
|
#~(list (string-append "VERSION=" #$version)
|
||||||
,(string-append "CC=" (cc-for-target))
|
(string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
(string-append "prefix=" #$output))
|
||||||
#:tests? #f)) ; no tests
|
#:tests? #f)) ; no tests
|
||||||
(inputs
|
(inputs
|
||||||
(list readline))
|
(list readline))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue