guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: sudo: Omit snippet and phase return value.


From: guix-commits
Subject: 01/02: gnu: sudo: Omit snippet and phase return value.
Date: Fri, 17 Sep 2021 04:40:56 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit aa6a3976798ad9bf3b999c32d20cade83b900e65
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Sep 17 10:37:09 2021 +0200

    gnu: sudo: Omit snippet and phase return value.
    
    * gnu/packages/admin.scm (sudo)[source]: Don't return #t from snippet.
    [argument]: Nor from the 'pre-configure phase.
---
 gnu/packages/admin.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c7e83cd..1256ded 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1683,8 +1683,7 @@ system administrator.")
               (modules '((guix build utils)))
               (snippet
                '(begin
-                  (delete-file-recursively "lib/zlib")
-                  #t))))
+                  (delete-file-recursively "lib/zlib")))))
     (build-system gnu-build-system)
     (outputs (list "out"))
     (arguments
@@ -1737,8 +1736,7 @@ system administrator.")
              ;; not the task of the build system, and fails.
              (substitute* "plugins/sudoers/Makefile.in"
                (("^pre-install:" match)
-                (string-append match "\ndisabled-" match)))
-             #t)))
+                (string-append match "\ndisabled-" match))))))
 
        ;; XXX: The 'testsudoers' test series expects user 'root' to exist, but
        ;; the chroot's /etc/passwd doesn't have it.  Turn off the tests.



reply via email to

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