aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Covrig <aaron.covrig.us@ieee.org>2024-04-05 20:44:35 -0400
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:46:54 +0300
commit4765cbd1d1e1c3da89d925c7828c461f03b1e1bb (patch)
treea698985c24eb4cbf22b3e23f87802e11eaa79e1a
parentfa7973017c6bd47c45397d3bfafe6c4255bc3354 (diff)
downloadguix-4765cbd1d1e1c3da89d925c7828c461f03b1e1bb.tar
guix-4765cbd1d1e1c3da89d925c7828c461f03b1e1bb.tar.gz
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 <aaron.covrig.us@ieee.org> Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I87bf4e36d61b1f4cee76dd26cfcf023a659b31e0
-rw-r--r--gnu/packages/crates-io.scm11
1 files 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