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)))
|
(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.
|
||||||
|
|
Loading…
Reference in a new issue