diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 930697f12f1666449a0bf82a3c13fddc6a983a5f..a32cee44dcac685ed4946841a1c67765bb111e7d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4425,9 +4425,9 @@ (define-public ocaml-utop
              (let* ((out (assoc-ref outputs "out"))
                     (libdir (string-append out "/lib/ocaml/site-lib")))
                (mkdir-p libdir)
-               (zero? (system* "jbuilder" "install"
-                               "--prefix" out
-                               "--libdir" libdir))))))))
+               (invoke "jbuilder" "install"
+                       "--prefix" out
+                       "--libdir" libdir)))))))
     (native-inputs
      `(("ocaml" ,ocaml)
        ("cppo" ,ocaml-cppo)