doc: cookbook: Remove trailing #t from extended example.
* doc/guix-cookbook.texi (Extended example): Remove trailing #t from snippet and phases.master
parent
a6f3800173
commit
bc7dd3f713
|
@ -792,10 +792,8 @@ another, more sophisticated package (slightly modified from the source):
|
||||||
"17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3"))
|
"17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3"))
|
||||||
(patches (search-patches "libgit2-mtime-0.patch"))
|
(patches (search-patches "libgit2-mtime-0.patch"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet '(begin
|
;; Remove bundled software.
|
||||||
;; Remove bundled software.
|
(snippet '(delete-file-recursively "deps"))))
|
||||||
(delete-file-recursively "deps")
|
|
||||||
#true))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(outputs '("out" "debug"))
|
(outputs '("out" "debug"))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -809,8 +807,7 @@ another, more sophisticated package (slightly modified from the source):
|
||||||
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
||||||
(substitute* "tests/clar/fs.h"
|
(substitute* "tests/clar/fs.h"
|
||||||
(("/bin/cp") (which "cp"))
|
(("/bin/cp") (which "cp"))
|
||||||
(("/bin/rm") (which "rm")))
|
(("/bin/rm") (which "rm")))))
|
||||||
#true))
|
|
||||||
;; Run checks more verbosely.
|
;; Run checks more verbosely.
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _ (invoke "./libgit2_clar" "-v" "-Q")))
|
(lambda _ (invoke "./libgit2_clar" "-v" "-Q")))
|
||||||
|
|
Reference in New Issue