guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51300] [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase.


From: Robby Zambito
Subject: [bug#51300] [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase.
Date: Tue, 19 Oct 2021 22:19:36 -0400

* gnu/packages/freedesktop.scm (waypipe)
[arguments]: Remove inputs argument.
[native-inputs]: Remove coreutils.
---
 gnu/packages/freedesktop.scm | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 086707d51a..eb19552746 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2454,16 +2454,14 @@ compositors.")
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-sleep-path
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((coreutils (assoc-ref inputs "coreutils")))
-               (substitute* "./test/startup_failure.py"
-                 (("sleep") (string-append coreutils "/bin/sleep")))))))))
+           (lambda* (#:key #:allow-other-keys)
+             (substitute* "./test/startup_failure.py"
+               (("sleep") (which "sleep"))))))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("scdoc" ,scdoc)
        ;; For tests
-       ("python" ,python)
-       ("coreutils" ,coreutils)))
+       ("python" ,python)))
     (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe";)
     (synopsis "Proxy for Wayland protocol applications")
     (description
-- 
2.33.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]