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

Previous Next

Package: guix-patches;

Reported by: Robby Zambito <contact <at> robbyzambito.me>

Date: Wed, 20 Oct 2021 02:28:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#51300: closed ([PATCH 1/2] gnu: waypipe: Simplify
 'fix-sleep-path phase.)
Date: Thu, 28 Oct 2021 18:48:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 28 Oct 2021 20:47:22 +0200
with message-id <871r4556md.fsf <at> gnu.org>
and subject line Re: bug#51300: [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase.
has caused the debbugs.gnu.org bug report #51300,
regarding [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
51300: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51300
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Robby Zambito <contact <at> robbyzambito.me>
To: guix-patches <at> gnu.org
Cc: Robby Zambito <contact <at> robbyzambito.me>
Subject: [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



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Robby Zambito <contact <at> robbyzambito.me>
Cc: 51300-done <at> debbugs.gnu.org
Subject: Re: bug#51300: [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path
 phase.
Date: Thu, 28 Oct 2021 20:47:22 +0200
Hi,

Robby Zambito <contact <at> robbyzambito.me> skribis:

> * gnu/packages/freedesktop.scm (waypipe)
> [arguments]: Remove inputs argument.
> [native-inputs]: Remove coreutils.

Applied, thanks!

Ludo’.


This bug report was last modified 3 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.