me
/
guix
Archived
1
0
Fork 0

gnu: rust-hashbrown-0.12: Patch Cargo.toml.

This is a follow-up to commit d7a4ab2cd50d5398d90117d6afcfccca5a158b9b.

* gnu/packages/crates-io.scm (rust-hashbrown-0.12)[source]: Add snippet to
require the "edition2021" cargo feature to avoid a failure to parse the file.
master
Ricardo Wurmus 2022-08-30 18:20:44 +02:00
parent 333905ccff
commit 7c4546d591
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 1 deletions

View File

@ -26792,7 +26792,14 @@ already-hashed or hash-like data.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la"))))
"1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la"))
(modules '((guix build utils)))
(snippet
;; Without this line users of hashbrown would be unable to
;; parse the contents of the Cargo.toml.
'(substitute* "Cargo.toml"
(("\\[package\\]" m)
(string-append "cargo-features = [\"edition2021\"]\n" m))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs