me
/
guix
Archived
1
0
Fork 0

gnu: ghostscript: Use invoke.

* gnu/packages/ghostscript.scm (ghostscript): Use invoke from the
custom 'build' and 'install' phases.
master
Mark H Weaver 2018-03-23 02:25:19 -04:00
parent ae7ba73124
commit eb075eddfc
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 3 additions and 3 deletions

View File

@ -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")))