summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-12 11:03:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-12 12:25:01 +0300
commit1d67ba6f3b6457ac335e3f389d997ed5ef9418aa (patch)
tree2919b9a8abe4253036e3a1c221003ec7e9cc9262 /gnu
parentf013613406267077af473e461167cc06386f1dcf (diff)
downloadguix-1d67ba6f3b6457ac335e3f389d997ed5ef9418aa.tar.gz
gnu: rust-libmimalloc-sys-0.1: Fix building.
* gnu/packages/crates-io.scm (rust-libmimalloc-sys-0.1)[arguments]: Move
rust-cmake-0.1 from cargo-development-inputs to cargo-inputs.
[native-inputs]: Add cmake-minimal.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 76202e35bb..e14c44ed98 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35,6 +35,7 @@
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crates-graphics)
   #:use-module (gnu packages crates-gtk)
@@ -13490,9 +13491,10 @@ functions and static variables these libraries contain.")
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-cty" ,rust-cty-0.2))
-       #:cargo-development-inputs
-       (("rust-cmake" ,rust-cmake-0.1))))
+       (("rust-cty" ,rust-cty-0.2)
+        ("rust-cmake" ,rust-cmake-0.1))))
+    (native-inputs
+     `(("cmake" ,cmake-minimal)))
     (home-page "https://github.com/purpleprotocol/mimalloc_rust")
     (synopsis "Sys crate wrapping the mimalloc allocator")
     (description "This package provides a sys crate wrapping the mimalloc