mhw pushed a commit to branch core-updates
in repository guix.
commit 09b8c04e22be9ebf8c4e730498c337ecf24acb74
Author: Mark H Weaver <[email protected]>
Date: Tue Mar 27 19:51:45 2018 -0400
gnu: sicp: Use invoke.
* gnu/packages/scheme.scm (sicp)[arguments]: Use invoke and remove vestigial
plumbing in the builder.
---
gnu/packages/scheme.scm | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index e0402a4..a426310 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -802,13 +802,12 @@ engineering.")
(setenv "PATH" (string-append gzip "/bin"
":" texinfo "/bin"))
(mkdir-p info-dir)
- (and (zero?
- (system* "makeinfo" "--output"
- (string-append info-dir "/sicp.info")
- (string-append source "/sicp-pocket.texi")))
- (every zero?
- (map (cut system* "gzip" "-9n" <>)
- (find-files info-dir))))))))
+ (invoke "makeinfo" "--output"
+ (string-append info-dir "/sicp.info")
+ (string-append source "/sicp-pocket.texi"))
+ (for-each (cut invoke "gzip" "-9n" <>)
+ (find-files info-dir))
+ #t))))
(home-page "https://sarabander.github.io/sicp")
(synopsis "Structure and Interpretation of Computer Programs")
(description "Structure and Interpretation of Computer Programs (SICP) is