3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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