summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-11 00:20:18 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-11 00:50:41 +0200
commit427afa650170133c4888878f55d245d8047c58e2 (patch)
treeb4c5cb674684fcf4d3b5445cde261ffe2b0dbbd2 /gnu/packages/crates-io.scm
parent9d795fb8fd3feffe584462cdfe3869acee64d226 (diff)
gnu: rust-parking-lot-core@0.8: Fix compilation.
Fixes a build failure introduced in d16298196c23cf4d05c4010af399270a2dbbd831. This is a followup to 25c66d69b274214ce1d1b9482bef087c39571b62. * gnu/packages/crates-io.scm (rust-parking-lot-core-0.8): Add 'relax-dependencies' phase.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 12ba102da5..cf8fc9a2ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40658,7 +40658,15 @@ synchronization primitives.")
("rust-redox-syscall" ,rust-redox-syscall-0.2)
("rust-smallvec" ,rust-smallvec-1)
("rust-thread-id" ,rust-thread-id-4)
- ("rust-winapi" ,rust-winapi-0.3))))
+ ("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