me
/
guix
Archived
1
0
Fork 0

gnu: sicp: Use invoke.

* gnu/packages/scheme.scm (sicp)[arguments]: Use invoke and remove vestigial
plumbing in the builder.
master
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
1 changed files with 6 additions and 7 deletions

View File

@ -802,13 +802,12 @@ engineering.")
(setenv "PATH" (string-append gzip "/bin" (setenv "PATH" (string-append gzip "/bin"
":" texinfo "/bin")) ":" texinfo "/bin"))
(mkdir-p info-dir) (mkdir-p info-dir)
(and (zero? (invoke "makeinfo" "--output"
(system* "makeinfo" "--output"
(string-append info-dir "/sicp.info") (string-append info-dir "/sicp.info")
(string-append source "/sicp-pocket.texi"))) (string-append source "/sicp-pocket.texi"))
(every zero? (for-each (cut invoke "gzip" "-9n" <>)
(map (cut system* "gzip" "-9n" <>) (find-files info-dir))
(find-files info-dir)))))))) #t))))
(home-page "https://sarabander.github.io/sicp") (home-page "https://sarabander.github.io/sicp")
(synopsis "Structure and Interpretation of Computer Programs") (synopsis "Structure and Interpretation of Computer Programs")
(description "Structure and Interpretation of Computer Programs (SICP) is (description "Structure and Interpretation of Computer Programs (SICP) is