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:
Ada Stevenson 2025-10-14 16:56:43 +08:00 committed by Liliana Marie Prikler
parent ce2b34d14e
commit b0f7086b34
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -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