gnu: sicp: Use invoke.

* gnu/packages/scheme.scm (sicp)[arguments]: Use invoke and remove vestigial
plumbing in the builder.
This commit is contained in:
Mark H Weaver 2018-03-27 19:51:45 -04:00
parent 6076496b51
commit 09b8c04e22
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -802,13 +802,12 @@ (define-public sicp
(setenv "PATH" (string-append gzip "/bin"
":" texinfo "/bin"))
(mkdir-p info-dir)
(and (zero?
(system* "makeinfo" "--output"
(invoke "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))))))))
(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