rekado pushed a commit to branch rekados-rust-queue
in repository guix.
commit e18ecf8091669442246368711d68507013a94129
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Tue Aug 30 18:22:36 2022 +0200
gnu: rav1e: Patch Cargo.toml.
* gnu/packages/video.scm (rav1e)[source]: Patch Cargo.toml to enable feature
needed to parse the file.
---
gnu/packages/video.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 556eb46df4..16a17dd152 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -5216,7 +5216,12 @@ result in several formats:
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn"))))
+ "006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn"))
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "Cargo.toml"
+ (("\\[package\\]" m)
+ (string-append "cargo-features = [\"rust-version\"]\n" m))))))
(build-system cargo-build-system)
(arguments
`(;; Strip the '--release' flag to work around the doctest failures with