diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-09-17 10:37:09 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-09-17 10:40:42 +0200 |
commit | aa6a3976798ad9bf3b999c32d20cade83b900e65 (patch) | |
tree | de5055c8bc827c3078b93af521bad2b709cf723b | |
parent | 05605998b2f70403c360ad5e27d942cef2b9502c (diff) |
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.
-rw-r--r-- | gnu/packages/admin.scm | 6 |
1 files changed, 2 insertions, 4 deletions
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. |