gnu: ocaml-zed: Use INVOKE.
* gnu/packages/ocaml.scm (ocaml-zed)[arguments]: Use INVOKE in build phases.
This commit is contained in:
parent
04daa1ed72
commit
c6aaa7bed6
|
@ -4348,13 +4348,12 @@ is provide a description of your project and Jbuilder will do the rest.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key #:allow-other-keys)
|
(lambda _ (invoke "jbuilder" "build")))
|
||||||
(zero? (system* "jbuilder" "build"))))
|
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(zero? (system* "jbuilder" "install" "--prefix" out))))))))
|
(invoke "jbuilder" "install" "--prefix" out)))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("jbuilder" ,ocaml-jbuilder)))
|
`(("jbuilder" ,ocaml-jbuilder)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Reference in New Issue