From 4765cbd1d1e1c3da89d925c7828c461f03b1e1bb Mon Sep 17 00:00:00 2001 From: Aaron Covrig Date: Fri, 5 Apr 2024 20:44:35 -0400 Subject: [PATCH] gnu: rust-devise-0.2: Build the package. * gnu/packages/crates-io.scm (rust-devise-0.2)[arguments]: Don't skip building the package. Add a phase to set RUSTC_BOOTSTRAP. Signed-off-by: Aaron Covrig Signed-off-by: Efraim Flashner Change-Id: I87bf4e36d61b1f4cee76dd26cfcf023a659b31e0 --- 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 fb70844d56..c3d2108999 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20969,10 +20969,13 @@ procedural macros.") (sha256 (base32 "09p52f54givb0g9l7clj11z755vldk8758y2lwm5mp3sa156qwfx")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-devise-codegen" ,rust-devise-codegen-0.2) - ("rust-devise-core" ,rust-devise-core-0.2)))))) + `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.2) + ("rust-devise-core" ,rust-devise-core-0.2)) + #: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-codegen-0.4 (package