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.
This commit is contained in:
Tobias Geerinckx-Rice 2021-09-17 10:37:09 +02:00
parent 05605998b2
commit aa6a397679
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1683,8 +1683,7 @@ (define-public sudo
(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 @@ (define-public sudo
;; 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.