unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51300] [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase.
@ 2021-10-20  2:19 Robby Zambito
  2021-10-20  2:19 ` [bug#51299] [PATCH 2/2] gnu: waypipe: Update to 0.8.1 Robby Zambito
  2021-10-28 18:47 ` bug#51300: [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Robby Zambito @ 2021-10-20  2:19 UTC (permalink / raw)
  To: 51300; +Cc: Robby Zambito

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-28 18:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20  2:19 [bug#51300] [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase Robby Zambito
2021-10-20  2:19 ` [bug#51299] [PATCH 2/2] gnu: waypipe: Update to 0.8.1 Robby Zambito
2021-10-28 18:47   ` bug#51299: " Ludovic Courtès
2021-10-28 18:47 ` bug#51300: [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).