From 3c21209445bbd60bf6d17e0cd134954f2aeb9a61 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 5 Nov 2023 18:25:10 +0200 Subject: [PATCH] gnu: rust-uint-0.9: Fix build. * gnu/packages/crates-io.scm (rust-uint-0.9)[arguments]: Add a phase to use the default features of rust-rug. Change-Id: I8c1bb99b28ef7fb31fa032823fd5a99e76aad783 --- gnu/packages/crates-io.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6864736541..177e0438ed 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -83199,7 +83199,13 @@ panic-free alternative to @code{core::fmt}.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-rug" ,rust-rug-1)))) + ("rust-rug" ,rust-rug-1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'adjust-cargo-toml + (lambda _ + (substitute* "Cargo.toml" + (("integer") "default"))))))) (inputs (list gmp mpc mpfr)) (home-page "https://parity.io")