guix-commits
[Top][All Lists]
Advanced

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

06/11: gnu: waypipe: Simplify 'fix-sleep-path phase.


From: guix-commits
Subject: 06/11: gnu: waypipe: Simplify 'fix-sleep-path phase.
Date: Thu, 28 Oct 2021 15:43:15 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d0850dbd345373fb7c78b2915e94a2f41983ea99
Author: Robby Zambito <contact@robbyzambito.me>
AuthorDate: Tue Oct 19 22:19:36 2021 -0400

    gnu: waypipe: Simplify 'fix-sleep-path phase.
    
    * gnu/packages/freedesktop.scm (waypipe)
    [arguments]: Remove inputs argument.
    [native-inputs]: Remove coreutils.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 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 e2a4a26..f824633 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2451,16 +2451,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



reply via email to

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