From patchwork Wed Oct 20 02:19:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robby Zambito X-Patchwork-Id: 33955 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 631CB27BBE3; Wed, 20 Oct 2021 03:28:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1D93C27BBE1 for ; Wed, 20 Oct 2021 03:28:28 +0100 (BST) Received: from localhost ([::1]:45438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1md1L8-0006LS-P5 for patchwork@mira.cbaines.net; Tue, 19 Oct 2021 22:28:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md1Kl-0006LK-Dz for guix-patches@gnu.org; Tue, 19 Oct 2021 22:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1md1Kl-0006SX-4o for guix-patches@gnu.org; Tue, 19 Oct 2021 22:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1md1Kl-0002Gx-14 for guix-patches@gnu.org; Tue, 19 Oct 2021 22:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51300] [PATCH 1/2] gnu: waypipe: Simplify 'fix-sleep-path phase. Resent-From: Robby Zambito Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Oct 2021 02:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51300 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51300@debbugs.gnu.org Cc: Robby Zambito X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16346968398663 (code B ref -1); Wed, 20 Oct 2021 02:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Oct 2021 02:27:19 +0000 Received: from localhost ([127.0.0.1]:52385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md1K2-0002Ff-Ss for submit@debbugs.gnu.org; Tue, 19 Oct 2021 22:27:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:48744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md1Jx-0002FH-Fz for submit@debbugs.gnu.org; Tue, 19 Oct 2021 22:27:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md1Jx-0006Dv-Af for guix-patches@gnu.org; Tue, 19 Oct 2021 22:27:13 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:42869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md1Ju-0005WY-UE for guix-patches@gnu.org; Tue, 19 Oct 2021 22:27:12 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id E4200240004; Wed, 20 Oct 2021 02:27:01 +0000 (UTC) From: Robby Zambito Date: Tue, 19 Oct 2021 22:19:36 -0400 Message-Id: <20211020021936.1629519-1-contact@robbyzambito.me> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.183.193; envelope-from=contact@robbyzambito.me; helo=relay1-d.mail.gandi.net X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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