diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-11 00:20:18 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-11 00:32:57 +0200 |
commit | b36ce0275644055c2ee9cb2aa90a0253dd108633 (patch) | |
tree | 158bda25892bb74640182f7404087db14600406a /gnu/packages/crates-io.scm | |
parent | 069733a848957de2917fe342ffecf93035fc1f4f (diff) | |
download | guix-b36ce0275644055c2ee9cb2aa90a0253dd108633.tar.gz |
gnu: rust-parking-lot-core@0.8: Fix compilation.
Fixes a build failure introduced in d16298196c23cf4d05c4010af399270a2dbbd831. * gnu/packages/crates-io.scm (rust-parking-lot-core-0.8): Update dependencies as reported by "guix import crate parking-lot-core@0.8.4". Add 'relax-dependencies' phase.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c5e02aa0ec..0893f28c0c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40651,15 +40651,22 @@ synchronization primitives.") (arguments `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-cloudabi" ,rust-cloudabi-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) ("rust-instant" ,rust-instant-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-redox-syscall" ,rust-redox-syscall-0.2) ("rust-smallvec" ,rust-smallvec-1) - ("rust-thread-id" ,rust-thread-id-3) - ("rust-winapi" ,rust-winapi-0.3)))) + ("rust-thread-id" ,rust-thread-id-4) + ("rust-winapi" ,rust-winapi-0.3)) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'relax-dependencies + (lambda _ + ;; XXX: The file demands 0.3.60; we have 0.3.56, but + ;; that works well, really. + (substitute* "Cargo.toml" + (("0\\.3\\.60") + ,(package-version rust-backtrace-0.3)))))))) (home-page "https://github.com/Amanieu/parking_lot") (synopsis "API for creating custom synchronization primitives") (description "This package provides an advanced API for creating custom |