From 427afa650170133c4888878f55d245d8047c58e2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 11 May 2022 00:20:18 +0200 Subject: 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. --- gnu/packages/crates-io.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu') 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 -- cgit 1.4.1