guix_mirror_bot pushed a commit to branch mesa-updates
in repository guix.
commit 947e28a484fc20026b92b7bc8749d00008e84a81
Author: Efraim Flashner <[email protected]>
AuthorDate: Thu Mar 5 09:52:35 2026 +0200
gnu: mesa: Add missing rust crate.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust custom
'prepare-rust-crates phase to not delete the once_cell wrapper.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[mesa]: Add
rust-once-cell-1.8.0.
Change-Id: I3abfa35048b22cfd02a1cc00d9680d085b2ea0a3
---
gnu/packages/gl.scm | 2 --
gnu/packages/rust-crates.scm | 6 +++++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 72291e2052..ae14b1bd92 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -491,8 +491,6 @@
panfrost,r300,r600,svga,softpipe,llvmpipe,tegra,v3d,vc4,virgl,zink"))
(string-split (list-ref split-url 6) #\_) "-")
"-" (list-ref split-url 7) ".tar.gz\n"))))
;; "Download" the packages.
- ;; once-cell-1.8.0 was yanked by upstream
- (delete-file "subprojects/once_cell-1-rs.wrap")
(for-each
(lambda (wrapper)
(invoke "meson" "subprojects" "download"
diff --git a/gnu/packages/rust-crates.scm b/gnu/packages/rust-crates.scm
index 9d416b4825..db4a369a26 100644
--- a/gnu/packages/rust-crates.scm
+++ b/gnu/packages/rust-crates.scm
@@ -16307,6 +16307,10 @@
(crate-source "omnipath" "0.1.6"
"0xd5a4xwsfmhzk59v6wz65f59rk16d7gvkg90w1qhb0jg08b7bc0"))
+(define rust-once-cell-1.8.0
+ (crate-source "once_cell" "1.8.0"
+ "0mkbbxg6416z11r2yzsq91cqrkj9w1iyx5hakq15h5sbnriwnbv9"))
+
(define rust-once-cell-1.18.0
(crate-source "once_cell" "1.18.0"
"0vapcd5ambwck95wyz3ymlim35jirgnqn9a0qmi19msymv95v2yx"))
@@ -47219,7 +47223,7 @@
rust-indexmap-2.2.6
rust-libc-0.2.171
rust-log-0.4.27
- ;rust-once-cell-1.8.0 ; Unavailable upstream.
+ rust-once-cell-1.8.0
rust-paste-1.0.14
rust-pest-2.8.0
rust-pest-derive-2.8.0