guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: doc: cookbook: Remove trailing #t from extended example.


From: guix-commits
Subject: 03/04: doc: cookbook: Remove trailing #t from extended example.
Date: Mon, 12 Jul 2021 05:00:23 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit bc7dd3f713cc7482238fe688b23adf6569389b67
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jul 12 10:53:32 2021 +0200

    doc: cookbook: Remove trailing #t from extended example.
    
    * doc/guix-cookbook.texi (Extended example): Remove trailing #t from
    snippet and phases.
---
 doc/guix-cookbook.texi | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi
index 1cddaa7..d3c9132 100644
--- a/doc/guix-cookbook.texi
+++ b/doc/guix-cookbook.texi
@@ -792,10 +792,8 @@ another, more sophisticated package (slightly modified 
from the source):
                   "17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3"))
                 (patches (search-patches "libgit2-mtime-0.patch"))
                 (modules '((guix build utils)))
-                (snippet '(begin
-                            ;; Remove bundled software.
-                            (delete-file-recursively "deps")
-                            #true))))
+                ;; Remove bundled software.
+                (snippet '(delete-file-recursively "deps"))))
       (build-system cmake-build-system)
       (outputs '("out" "debug"))
       (arguments
@@ -809,8 +807,7 @@ another, more sophisticated package (slightly modified from 
the source):
                  (("#!/bin/sh") (string-append "#!" (which "sh"))))
                (substitute* "tests/clar/fs.h"
                  (("/bin/cp") (which "cp"))
-                 (("/bin/rm") (which "rm")))
-               #true))
+                 (("/bin/rm") (which "rm")))))
            ;; Run checks more verbosely.
            (replace 'check
              (lambda _ (invoke "./libgit2_clar" "-v" "-Q")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]