unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57030] [PATCH] gnu: rust-tracing-futures-0.2: Fix build phase.
@ 2022-08-07 10:10 Nicolas Graves via Guix-patches via
  2022-08-07 10:16 ` Maxime Devos
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-08-07 10:10 UTC (permalink / raw)
  To: 57030


* gnu/packages/crates-io.scm (rust-tracing-futures-0.2): Fix build phase.
---
 gnu/packages/crates-io.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfafce9aa3..a7a90df7ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66323,7 +66323,17 @@ (define-public rust-tracing-futures-0.2
          "0k4vd3jyqz9cx8rbwbp0p93qfp1w6rfk7sc6c1jh1ai18zqvcyxb"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#: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)
         ("rust-futures-task" ,rust-futures-task-0.3)
         ("rust-pin-project" ,rust-pin-project-0.4)
-- 
2.37.1

-- 
Best regards,
Nicolas Graves




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

end of thread, other threads:[~2022-09-29 15:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 10:10 [bug#57030] [PATCH] gnu: rust-tracing-futures-0.2: Fix build phase Nicolas Graves via Guix-patches via
2022-08-07 10:16 ` Maxime Devos
2022-08-07 13:56   ` Nicolas Graves via Guix-patches via
2022-08-07 13:45 ` [bug#57030] [PATCH] gnu: rust-tracing-futures-0.2: Fix build when used as an input Nicolas Graves via Guix-patches via
2022-08-07 13:49 ` [bug#57030] [PATCH] gnu: rust-tracing-futures-0.2: Fix build phase Nicolas Graves via Guix-patches via
2022-08-07 19:38 ` [bug#57030] [PATCH 7/9 v2] gnu: rust-syn-1: Update to 1.0.96 Nicolas Graves via Guix-patches via
2022-08-07 14:41   ` [bug#57040] [PATCH] gnu: Update rust-tracing-attributes Nicolas Graves via Guix-patches via
2022-08-07 14:44     ` [bug#57040] [PATCH 1/9] gnu: rust-bytemuck-1: Update to 1.11.0 Nicolas Graves via Guix-patches via
2022-08-07 14:44     ` [bug#57040] [PATCH 2/9] gnu: rust-retain-mut-0.1: Update to 0.1.9 Nicolas Graves via Guix-patches via
2022-08-07 14:45     ` [bug#57040] [PATCH 3/9] gnu: Add rust-roaring-0.9 Nicolas Graves via Guix-patches via
2022-08-07 14:45     ` [bug#57040] [PATCH 4/9] gnu: Add rust-unicode-ident-1 Nicolas Graves via Guix-patches via
2022-08-07 14:46     ` [bug#57040] [PATCH 5/9] gnu: rust-proc-macro2-1: Update to 1.0.43 Nicolas Graves via Guix-patches via
2022-08-07 14:47     ` [bug#57040] [PATCH 6/9] gnu: Remove rust-syn-test-suite-0 Nicolas Graves via Guix-patches via
2022-08-07 14:47     ` [bug#57040] [PATCH 7/9] gnu: rust-syn-1: Update to 1.0.99 Nicolas Graves via Guix-patches via
2022-08-07 14:48     ` [bug#57040] [PATCH 8/9] gnu: rust-async-trait-0.1: Update to 0.1.57 Nicolas Graves via Guix-patches via
2022-08-07 14:48     ` [bug#57040] [PATCH 9/9] gnu: rust-tracing-attributes-0.1: Update to 0.1.20 Nicolas Graves via Guix-patches via
2022-08-07 15:53       ` Nicolas Graves via Guix-patches via
     [not found]       ` <875yh61glq.fsf@ngraves.fr>
2022-09-29 13:02         ` bug#57040: " Nicolas Graves via Guix-patches via
2022-08-07 19:39     ` [bug#57040] [Nicolas Graves] [PATCH 7/9 v2] gnu: rust-syn-1: Update to 1.0.96 Nicolas Graves via Guix-patches via
2022-09-29 13:17 ` bug#57030: [Nicolas Graves] Re: [PATCH 9/9] gnu: rust-tracing-attributes-0.1: Update to 0.1.20 Nicolas Graves via Guix-patches via

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).