From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SMr5FiPC72JtRwEAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 15:46:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0GD5FiPC72IUlAAAauVa8A (envelope-from ) for ; Sun, 07 Aug 2022 15:46:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 340BF3E84 for ; Sun, 7 Aug 2022 15:46:11 +0200 (CEST) Received: from localhost ([::1]:48270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKgba-0003Cg-Du for larch@yhetil.org; Sun, 07 Aug 2022 09:46:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKgbS-0003CW-NP for guix-patches@gnu.org; Sun, 07 Aug 2022 09:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKgbR-0002cN-Pi for guix-patches@gnu.org; Sun, 07 Aug 2022 09:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKgbR-0002Bq-KS for guix-patches@gnu.org; Sun, 07 Aug 2022 09:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57030] [PATCH] gnu: rust-tracing-futures-0.2: Fix build when used as an input. References: <87v8r4tldq.fsf@ngraves.fr> In-Reply-To: <87v8r4tldq.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 13:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57030 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57030@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57030-submit@debbugs.gnu.org id=B57030.16598799608411 (code B ref 57030); Sun, 07 Aug 2022 13:46:01 +0000 Received: (at 57030) by debbugs.gnu.org; 7 Aug 2022 13:46:00 +0000 Received: from localhost ([127.0.0.1]:36237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKgbQ-0002Ba-1t for submit@debbugs.gnu.org; Sun, 07 Aug 2022 09:46:00 -0400 Received: from 13.mo584.mail-out.ovh.net ([178.33.251.8]:46853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKgbK-0002BJ-Db for 57030@debbugs.gnu.org; Sun, 07 Aug 2022 09:45:58 -0400 Received: from player762.ha.ovh.net (unknown [10.109.146.163]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 341A223971 for <57030@debbugs.gnu.org>; Sun, 7 Aug 2022 13:45:51 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player762.ha.ovh.net (Postfix) with ESMTPSA id 672A12D4EFE7B; Sun, 7 Aug 2022 13:45:50 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Sun, 07 Aug 2022 15:45:49 +0200 Message-ID: <87sfm8tbea.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 13983395371666891490 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefiedgjeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeffiefgieduteethefggfeiteeguedvgffhkeffveeikeehvefgtdfgfefgfeegleenucffohhmrghinhepthhokhhiohdrrhhsnecukfhppedtrddtrddtrddtpddujeeirdduieeirdduheelrdejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeeivddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehjedtfedtseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeeg 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659879971; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=90KZDBe0xokC1JdErwz5H7PM5vwf61xY7mAAXeRpauI=; b=e0FWBYAJoy6KiIUmbqkmu/AYQjQtYHwVpcUPq6oVGTqkMTdvX17gQxLviT4S49MgvF9e84 FCQaNU/GXeapW1/yVDU/9D+uhTVdm06NIUV7AOBd5mxe7KX4Z+39Sv/gsjH1Gtvj5jfKN2 Ms4NLPv/nIj9O5FzA5fvDqPdTZ9FxNWBguau/yJTA83Kg/NI5AXzbS146G7QeX0jZ8ToCD Dk5fG80DZxznXMSIwYYq0WbBCJF97EYLImUNsMBxKzOjAD/q01sBt1EhPwOiFGqAnqEoUL vfxuGeil8EBuZp9eYvPMMQ+X1xrx0otd3LNEGz5P9FLLEouGwZle9LTq6/GaSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659879971; a=rsa-sha256; cv=none; b=Mv1hd5+uxy0bL7B1BQX6uJ+wyZ1Wd12k33jFodi1kv5952YDd7QSJp+fDYl/KG1fW5Cw2d OvtOG+fKJZkM8cDu3cshqAAqzb+4eQ7g8GLzM8iT2p3CRjNCbZnQpqi2XeoHxTG3uXcWLT LGK6FxxwluP05et8x4VdCWjiwR/L+W8V6gnEjvnCUsoPUsoFehJ9PvStwmIFS1WJaJ0mQ+ mtYihTZ1TA6xSCTJPBR+RT19Isz10/yaOZF9dKKG+nzZE6cAQIgAB8Je6MH2uhyeaU+Vx1 6iLHlWhi1PjpraX95MBYcWMpLuvKnhNoQCpjMaJhuASr+y48T3OOm2fytaT4nQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 340BF3E84 X-Spam-Score: -3.39 X-Migadu-Scanner: scn1.migadu.com X-TUID: KvduG7UGh1r+ * gnu/packages/crates-io.scm (rust-tracing-futures-0.2): Fix build when used as an input. --- gnu/packages/crates-io.scm | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a7a90df7ea..04840039be 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -66323,25 +66323,26 @@ (define-public rust-tracing-futures-0.2 "0k4vd3jyqz9cx8rbwbp0p93qfp1w6rfk7sc6c1jh1ai18zqvcyxb")))) (build-system cargo-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'patch-cargo-checksums 'patch-tests - (lambda _ - (substitute* '("tests/support.rs" "src/lib.rs") - (("../../tracing/tests/support/mod.rs") - (string-append - "../guix-vendor/rust-tracing-" - "0.1.23" ;; TODO replace by rust-tracing version - ".tar.gz/tests/support/mod.rs")))))) - #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'patch-cargo-checksums 'patch-tests + (lambda _ + (substitute* '("tests/support.rs" "src/lib.rs") + (("../../tracing/tests/support/mod.rs") + #$(file-append rust-tracing-0.1 + "/share/cargo/src/tracing-" + (package-version rust-tracing-0.1) + "/tests/support/mod.rs")))))) + #:cargo-inputs + `(("rust-futures" ,rust-futures-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-pin-project" ,rust-pin-project-0.4) ("rust-tokio" ,rust-tokio-0.1) ("rust-tokio-executor" ,rust-tokio-executor-0.1) ("rust-tracing" ,rust-tracing-0.1)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.1) + #:cargo-development-inputs + `(("rust-tokio" ,rust-tokio-0.1) ("rust-tokio-test" ,rust-tokio-test-0.2) ("rust-tracing-core" ,rust-tracing-core-0.1)))) (home-page "https://tokio.rs") -- 2.37.1 <#secure method=pgpmime mode=sign> -- Best regards, Nicolas Graves