gnu: rust-parking-lot-core@0.8: Fix compilation.

Fixes a build failure introduced in
d16298196c.

This is a followup to 25c66d69b2.

* gnu/packages/crates-io.scm (rust-parking-lot-core-0.8): Add
'relax-dependencies' phase.
This commit is contained in:
Ludovic Courtès 2022-05-11 00:20:18 +02:00
parent 9d795fb8fd
commit 427afa6501
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -40658,7 +40658,15 @@ (define-public rust-parking-lot-core-0.8
("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