From aa6a3976798ad9bf3b999c32d20cade83b900e65 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 17 Sep 2021 10:37:09 +0200 Subject: 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(-) (limited to 'gnu/packages/admin.scm') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index c7e83cd4cf..1256dedfac 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. -- cgit v1.2.3