mhw pushed a commit to branch core-updates
in repository guix.
commit eb075eddfcbe17b73f3bce9e932c234e50aad3a5
Author: Mark H Weaver <[email protected]>
Date: Fri Mar 23 02:25:19 2018 -0400
gnu: ghostscript: Use invoke.
* gnu/packages/ghostscript.scm (ghostscript): Use invoke from the
custom 'build' and 'install' phases.
---
gnu/packages/ghostscript.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 6bbedff..9a02c47 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -214,11 +214,11 @@ printing, and psresize, for adjusting page sizes.")
(lambda _
;; Build 'libgs.so', but don't build the statically-linked 'gs'
;; binary (saves 22 MiB).
- (zero? (system* "make" "so" "-j"
- (number->string (parallel-job-count))))))
+ (invoke "make" "so" "-j"
+ (number->string (parallel-job-count)))))
(replace 'install
(lambda _
- (zero? (system* "make" "soinstall"))))
+ (invoke "make" "soinstall")))
(add-after 'install 'create-gs-symlink
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))