return #t for ocaml packages
more/packages/ocaml.scm
| 93 | 93 | (mandir (string-append out "/share/man"))) | |
| 94 | 94 | ;; Custom configure script doesn't recognize | |
| 95 | 95 | ;; --prefix=<PREFIX> syntax (with equals sign). | |
| 96 | - | (zero? (system* "./configure" | |
| 97 | - | "--prefix" out | |
| 98 | - | "--mandir" mandir))))) | |
| 96 | + | (invoke "./configure" | |
| 97 | + | "--prefix" out | |
| 98 | + | "--mandir" mandir)) | |
| 99 | + | #t)) | |
| 99 | 100 | (replace 'build | |
| 100 | 101 | (lambda _ | |
| 101 | - | (zero? (system* "make" "-j1" ;; fails to build otherwise | |
| 102 | - | "world.opt")))) | |
| 102 | + | (invoke "make" "-j1" ;; fails to build otherwise | |
| 103 | + | "world.opt") | |
| 104 | + | #t)) | |
| 103 | 105 | (delete 'check) | |
| 104 | 106 | (add-after 'install 'check | |
| 105 | 107 | (lambda _ | |
| 106 | 108 | (with-directory-excursion "testsuite" | |
| 107 | - | (zero? (system* "make" "all")))))))))) | |
| 109 | + | (invoke "make" "all")) | |
| 110 | + | #t))))))) | |
| 108 | 111 | ||
| 109 | 112 | (define-public proof-general2 | |
| 110 | 113 | (package | |
… | |||
| 456 | 459 | (modify-phases %standard-phases | |
| 457 | 460 | (replace 'configure | |
| 458 | 461 | (lambda* (#:key outputs #:allow-other-keys) | |
| 459 | - | (zero? (system* "./configure" "x86_64-linux" "-prefix" | |
| 460 | - | (assoc-ref outputs "out")))))) | |
| 462 | + | (invoke "./configure" "x86_64-linux" "-prefix" | |
| 463 | + | (assoc-ref outputs "out"))))) | |
| 461 | 464 | #:tests? #f)) | |
| 462 | 465 | (native-inputs | |
| 463 | 466 | `(("ocaml" ,ocaml-fix) | |