mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: polkit: Remove unneeded phase.
The previous `python-dbusmock` update causes this phase to have no effect. There is a small pause, but the package builds fine and so this phase is no longer necessary. * gnu/packages/gnome.scm (polkit)[#:phases]: Remove ‘check’ replacement. Change-Id: I57446688f65c68ea10ca06ac725d1571ef0181a9 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
ce2b34d14e
commit
b0f7086b34
1 changed files with 1 additions and 21 deletions
|
|
@ -170,27 +170,7 @@ able to request elevated privileges.")
|
|||
"/test/data/etc/polkit-1"
|
||||
"/rules.d/10-testing.rules"))
|
||||
(("/bin/(bash|false|true)" _ command)
|
||||
(which command)))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? test-options #:allow-other-keys)
|
||||
(when tests?
|
||||
(match (primitive-fork)
|
||||
(0 ;child process
|
||||
(apply execlp "meson" "meson"
|
||||
"test" "-t" "0" "--print-errorlogs"
|
||||
test-options))
|
||||
(meson-pid
|
||||
;; Reap child processes; otherwise, python-dbusmock would
|
||||
;; waste time polling for the dbus processes it spawns to
|
||||
;; be reaped, in vain.
|
||||
(let loop ()
|
||||
(match (waitpid WAIT_ANY)
|
||||
((pid . status)
|
||||
(if (= pid meson-pid)
|
||||
(unless (zero? status)
|
||||
(error "`meson test' exited with status"
|
||||
status))
|
||||
(loop)))))))))))))
|
||||
(which command))))))))
|
||||
(inputs
|
||||
(list duktape expat elogind linux-pam nspr))
|
||||
(propagated-inputs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue