diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-01-25 13:32:04 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-01-25 13:32:04 +0100 |
commit | c6aaa7bed63ad39a61d7a56fd56f722f0e279ae8 (patch) | |
tree | 3bba05c99c910af0d025701fb3ef17e9d13e26b9 /gnu | |
parent | 04daa1ed72be39805b787554f7959b1df6558460 (diff) | |
download | guix-c6aaa7bed63ad39a61d7a56fd56f722f0e279ae8.tar guix-c6aaa7bed63ad39a61d7a56fd56f722f0e279ae8.tar.gz |
gnu: ocaml-zed: Use INVOKE.
* gnu/packages/ocaml.scm (ocaml-zed)[arguments]: Use INVOKE in build phases.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ocaml.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 4d9487afa2..930697f12f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -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 |