Subject: [bug#69624] [PATCH v2 4/8] gnu: Enables building rust-devise-codegen-0.2.

From: Aaron Covrig <[email-masked]>
Date: Fri, 5 Apr 2024 20:44:34 -0400

* gnu/packages/crates-io.scm (rust-devise-codegen-0.2): Enables building

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4558141a22..c7085af627 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20948,10 +20948,13 @@ (define-public rust-devise-codegen-0.2
        (sha256
         (base32 "0lxbixni2v6snx2mkgi0kyq5dv8v6c5s57b6wc47q4hqs6884yza"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-devise-core" ,rust-devise-core-0.2)
-        ("rust-quote" ,rust-quote-0.6))))))
+     `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.2)
+                       ("rust-quote" ,rust-quote-0.6))
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-devise-core-0.4
   (package
-- 
2.41.0