emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57030: closed ([PATCH] gnu: rust-tracing-futures-0.2: Fix build phas


From: GNU bug Tracking System
Subject: bug#57030: closed ([PATCH] gnu: rust-tracing-futures-0.2: Fix build phase.)
Date: Thu, 29 Sep 2022 13:18:02 +0000

Your message dated Thu, 29 Sep 2022 15:17:04 +0200
with message-id <87k05mz5f3.fsf@ngraves.fr>
and subject line [Nicolas Graves] Re: [PATCH 9/9] gnu: 
rust-tracing-attributes-0.1: Update to 0.1.20.
has caused the debbugs.gnu.org bug report #57030,
regarding [PATCH] gnu: rust-tracing-futures-0.2: Fix build phase.
to be marked as done.

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


-- 
57030: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57030
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: rust-tracing-futures-0.2: Fix build phase. Date: Sun, 07 Aug 2022 12:10:09 +0200
* 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



--- End Message ---
--- Begin Message --- Subject: [Nicolas Graves] Re: [PATCH 9/9] gnu: rust-tracing-attributes-0.1: Update to 0.1.20. Date: Thu, 29 Sep 2022 15:17:04 +0200
-------------------- Start of forwarded message --------------------
From: Nicolas Graves <ngraves@ngraves.fr>
To: done-57040@debbugs.gnu.org
Subject: Re: [PATCH 9/9] gnu: rust-tracing-attributes-0.1: Update to 0.1.20.
Date: Thu, 29 Sep 2022 14:59:29 +0200


This patches would require more work. If rust-syn is updated this way,
if should go in inputs and not in cargo-inputs for packages using it,
that makes everything more complicated.

I'm not going to prioritize this anytime soon. I prefer to close the
issue.

-------------------- End of forwarded message --------------------

--
Best regards,
Nicolas Graves


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]