guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit b0f7086b347de3198d076a80f326283d0b1d3e30
Author: Ada Stevenson <[email protected]>
AuthorDate: Tue Oct 14 16:56:43 2025 +0800
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 <[email protected]>
---
gnu/packages/polkit.scm | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm
index bcbc08c707..eccfde3e12 100644
--- a/gnu/packages/polkit.scm
+++ b/gnu/packages/polkit.scm
@@ -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