summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-09 15:56:44 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-09 15:59:02 +0200
commit6b974845c7460d1f3dc84a633eafa785b5e72b9d (patch)
tree7b1d1a258774654c4195d999e1b11f34d27fdfc8
parent271b2e43bef96f17f3f1e1085394b4bb144c5768 (diff)
downloadguix-6b974845c7460d1f3dc84a633eafa785b5e72b9d.tar.gz
gnu: rust-instant: Fix dependencies.
Fixes a build failure introduced in
bec6bf64bcbcf559eb0b91abcb7f3b2488916797.

* gnu/packages/crates-io.scm (rust-instant-0.1)[arguments]: Adjust
inputs as per "guix import crate rust@0.1.9".
-rw-r--r--gnu/packages/crates-io.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0449e4f3fe..54dfda90fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29089,13 +29089,14 @@ data efficiently.")
     (arguments
      `(#:tests? #f  ; Issue during the wasm test.
        #:cargo-inputs
-       (("rust-js-sys" ,rust-js-sys-0.3)
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-js-sys" ,rust-js-sys-0.3)
         ("rust-stdweb" ,rust-stdweb-0.4)
-        ("rust-time" ,rust-time-0.1)
+        ("rust-time" ,rust-time-0.2)
         ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
         ("rust-web-sys" ,rust-web-sys-0.3))
        #:cargo-development-inputs
-       (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))
+       (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
     (home-page "https://github.com/sebcrozet/instant")
     (synopsis
      "Partial replacement for std::time::Instant that works on WASM too")