unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Robby Zambito <contact@robbyzambito.me>
To: 51300@debbugs.gnu.org
Cc: Robby Zambito <contact@robbyzambito.me>
Subject: [bug#51300] [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase.
Date: Tue, 19 Oct 2021 22:19:36 -0400	[thread overview]
Message-ID: <20211020021936.1629519-1-contact@robbyzambito.me> (raw)

* 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	other threads:[~2021-10-20  2:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20  2:19 Robby Zambito [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211020021936.1629519-1-contact@robbyzambito.me \
    --to=contact@robbyzambito.me \
    --cc=51300@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).