summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-05 18:25:10 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:39 +0200
commit3c21209445bbd60bf6d17e0cd134954f2aeb9a61 (patch)
tree19f8683f550261aafee59d439517956d78874623
parentcf93fbc8a681e87bd9e844512c7743eec82a4834 (diff)
downloadguix-3c21209445bbd60bf6d17e0cd134954f2aeb9a61.tar.gz
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
-rw-r--r--gnu/packages/crates-io.scm8
1 files changed, 7 insertions, 1 deletions
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")