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:
parent
05605998b2
commit
aa6a397679
1 changed files with 2 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue