[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
139/281: gnu: rav1e: Fix building.
From: |
guix-commits |
Subject: |
139/281: gnu: rav1e: Fix building. |
Date: |
Wed, 22 Feb 2023 05:41:01 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit dabee5766a0387dee24c6bc9d6f327ebe5a57976
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 19 12:43:52 2023 +0200
gnu: rav1e: Fix building.
* gnu/packages/video.scm (rav1e)[source]: Remove outdated snippet.
[arguments]: Remove custom 'force-rust-edition-2018 phase.
---
gnu/packages/video.scm | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index fcbafdb846..6189ee5c2d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -5321,12 +5321,7 @@ result in several formats:
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn"))
- (modules '((guix build utils)))
- (snippet
- '(substitute* "Cargo.toml"
- (("\\[package\\]" m)
- (string-append "cargo-features = [\"rust-version\"]\n" m))))))
+ "006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn"))))
(build-system cargo-build-system)
(arguments
`(;; Strip the '--release' flag to work around the doctest failures with
@@ -5389,14 +5384,8 @@ result in several formats:
(add-after 'unpack 'relax-versions
(lambda _
(substitute* "Cargo.toml"
- ;; Allow using more recent versions of
+ ;; Allow using more recent versions of system-deps.
(("~3.1.2") "~3"))))
- (add-after 'configure 'force-rust-edition-2018
- (lambda* (#:key vendor-dir #:allow-other-keys)
- ;; Force all the dependencies to not be higher than edition 2018.
- (with-fluids ((%default-port-encoding #f))
- (substitute* (find-files vendor-dir "Cargo.toml")
- (("edition = \\\"2021\\\"") "edition = \"2018\"")))))
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- 104/281: gnu: rust-libm-0.2: Update to 0.2.6., (continued)
- 104/281: gnu: rust-libm-0.2: Update to 0.2.6., guix-commits, 2023/02/22
- 113/281: gnu: rust-cargo-platform-0.1: Update to 0.1.2., guix-commits, 2023/02/22
- 120/281: gnu: Add rust-rustfix-0.6., guix-commits, 2023/02/22
- 118/281: gnu: rust-opener: Update to 0.5.0., guix-commits, 2023/02/22
- 121/281: gnu: Add rust-os-info-3., guix-commits, 2023/02/22
- 119/281: gnu: rust-tar-0.4: Update to 0.4.36., guix-commits, 2023/02/22
- 123/281: gnu: Add rust-cbindgen-0.20., guix-commits, 2023/02/22
- 133/281: gnu: rust-windows-x86-64-gnu: Remove bundled library., guix-commits, 2023/02/22
- 131/281: gnu: rust-windows-i686-gnu: Remove bundled library., guix-commits, 2023/02/22
- 135/281: gnu: rust-windows-x86-64-msvc: Remove bundled library., guix-commits, 2023/02/22
- 139/281: gnu: rav1e: Fix building.,
guix-commits <=
- 140/281: gnu: librsvg: Adjust test suite., guix-commits, 2023/02/22
- 128/281: gnu: librsvg: Update to 2.54.4., guix-commits, 2023/02/22
- 155/281: gnu: Add rust-botan-sys-0.8., guix-commits, 2023/02/22
- 159/281: gnu: Add rust-cipher-0.4., guix-commits, 2023/02/22
- 161/281: gnu: Add rust-concolor-query-0.1., guix-commits, 2023/02/22
- 138/281: gnu: Add rust-1.67., guix-commits, 2023/02/22
- 130/281: gnu: rust-windows-aarch64-msvc: Remove bundled library., guix-commits, 2023/02/22
- 142/281: build: cargo-build-system: Don't try to package when skipping build., guix-commits, 2023/02/22
- 144/281: gnu: rust: Update to 1.67., guix-commits, 2023/02/22
- 145/281: gnu: Add rust-toml-datetime-0.6., guix-commits, 2023/02/22