[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
139/470: gnu: rav1e: Fix building.
From: |
guix-commits |
Subject: |
139/470: gnu: rav1e: Fix building. |
Date: |
Thu, 16 Mar 2023 03:00:46 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 1430fb7760be789d0ba7d5589047a116180b2465
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 73d0c1ca54..a4ebdf4d93 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -5327,12 +5327,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
@@ -5395,14 +5390,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")))
- 81/470: gnu: rust-xml5ever-0.16: Update to 0.16.2., (continued)
- 81/470: gnu: rust-xml5ever-0.16: Update to 0.16.2., guix-commits, 2023/03/16
- 77/470: gnu: rust-markup5ever-0.10: Update to 0.10.1., guix-commits, 2023/03/16
- 127/470: Revert "gnu: Remove rust-yeslogic-fontconfig-sys-2.", guix-commits, 2023/03/16
- 109/470: gnu: rust-pin-project-0.4: Update to 0.4.30., guix-commits, 2023/03/16
- 144/470: gnu: rust: Update to 1.67., guix-commits, 2023/03/16
- 133/470: gnu: rust-windows-x86-64-gnu: Remove bundled library., guix-commits, 2023/03/16
- 146/470: gnu: rust-toml-datetime-0.5: Update to 0.5.1., guix-commits, 2023/03/16
- 134/470: gnu: rust-windows-x86-64-gnullvm-0.42: Remove bundled library., guix-commits, 2023/03/16
- 125/470: gnu: newsboat: Update to 2.30.1., guix-commits, 2023/03/16
- 94/470: gnu: rust-rand-distr-0.4: Update to 0.4.3., guix-commits, 2023/03/16
- 139/470: gnu: rav1e: Fix building.,
guix-commits <=
- 159/470: gnu: Add rust-cipher-0.4., guix-commits, 2023/03/16
- 161/470: gnu: Add rust-concolor-query-0.1., guix-commits, 2023/03/16
- 190/470: gnu: rust-native-tls-0.2: Update to 0.2.11., guix-commits, 2023/03/16
- 186/470: gnu: Add rust-libtest-mimic-0.6., guix-commits, 2023/03/16
- 193/470: gnu: Add rust-polyval-0.6., guix-commits, 2023/03/16
- 191/470: gnu: rust-os-info-3: Update to 3.6.0., guix-commits, 2023/03/16
- 199/470: gnu: rust-rkyv-derive-0.7: Remove commented argument., guix-commits, 2023/03/16
- 200/470: gnu: rust-schannel-0.1: Update to 0.1.21., guix-commits, 2023/03/16
- 211/470: gnu: Add rust-toml-test-harness-0.4., guix-commits, 2023/03/16
- 213/470: gnu: Add rust-toml-edit-0.15., guix-commits, 2023/03/16