efraim pushed a commit to branch rust-team
in repository guix.

commit 32b6d78dc88ea5d46d56f9b6467ac4acd00bc728
Author: Herman Rimm <[email protected]>
AuthorDate: Fri Jan 31 22:09:36 2025 +0100

    gnu: rust-awc-1: Add cargo-development-inputs.
    
    * gnu/packages/crates-web.scm (rust-awc-1)[arguments]: Build without tests.
    [cargo-development-inputs]: Add rust-actix-connect-1, rust-actix-http-1,
    rust-actix-server-1, rust-actix-tls-1, rust-actix-utils-1,
    rust-env-logger-0.6, rust-flate2-1, rust-futures-0.3, rust-webpki-0.21.
    
    Change-Id: Id7bd48a1608456fee91229aec97b66f2db61d03b
    Signed-off-by: Efraim Flashner <[email protected]>
---
 gnu/packages/crates-web.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 66fc6417f6..a8fbde9a71 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2141,10 +2141,9 @@ built on the Actix ecosystem.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1idacmq7n3irmdjkbxc5kdwspxk9w1gip94pcmfk7wky3m6isq6p"))))
-    ;; XXX: The crate fails to't build with with the same error as
-    ;; rust-actix-connect.  Skip build for now.
     (arguments
-     `(#:skip-build? #true
+     ;; The actix-web crate used may be too recent.
+     `(#:tests? #f
        #:cargo-inputs
        (("rust-actix-codec" ,rust-actix-codec-0.2)
         ("rust-actix-http" ,rust-actix-http-1)
@@ -2164,9 +2163,18 @@ built on the Actix ecosystem.")
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6))
        #:cargo-development-inputs
-       (("rust-actix-http-test" ,rust-actix-http-test-1)
+       (("rust-actix-connect" ,rust-actix-connect-1)
+        ("rust-actix-http" ,rust-actix-http-1)
+        ("rust-actix-http-test" ,rust-actix-http-test-1)
+        ("rust-actix-server" ,rust-actix-server-1)
+        ("rust-actix-tls" ,rust-actix-tls-1)
+        ("rust-actix-utils" ,rust-actix-utils-1)
         ("rust-actix-web" ,rust-actix-web-2)
-        ("rust-brotli" ,rust-brotli-3))))))
+        ("rust-brotli" ,rust-brotli-3)
+        ("rust-env-logger" ,rust-env-logger-0.6)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-webpki" ,rust-webpki-0.21))))))
 
 (define-public rust-awc-0.2
   (package

Reply via email to