mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: sicp: Use invoke.
* gnu/packages/scheme.scm (sicp)[arguments]: Use invoke and remove vestigial plumbing in the builder.
This commit is contained in:
parent
6076496b51
commit
09b8c04e22
1 changed files with 6 additions and 7 deletions
|
@ -802,13 +802,12 @@ (define-public sicp
|
||||||
(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")))
|
(for-each (cut invoke "gzip" "-9n" <>)
|
||||||
(every zero?
|
(find-files info-dir))
|
||||||
(map (cut system* "gzip" "-9n" <>)
|
#t))))
|
||||||
(find-files info-dir))))))))
|
|
||||||
(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
|
||||||
|
|
Loading…
Reference in a new issue