gnu: ocaml-zed: Use INVOKE.

* gnu/packages/ocaml.scm (ocaml-zed)[arguments]: Use INVOKE in build phases.
This commit is contained in:
Ricardo Wurmus 2019-01-25 13:32:04 +01:00
parent 04daa1ed72
commit c6aaa7bed6
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 3 deletions

View File

@ -4348,13 +4348,12 @@ is provide a description of your project and Jbuilder will do the rest.")
(modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key #:allow-other-keys)
(zero? (system* "jbuilder" "build"))))
(lambda _ (invoke "jbuilder" "build")))
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(zero? (system* "jbuilder" "install" "--prefix" out))))))))
(invoke "jbuilder" "install" "--prefix" out)))))))
(native-inputs
`(("jbuilder" ,ocaml-jbuilder)))
(propagated-inputs