podiki pushed a commit to branch mesa-updates
in repository guix.

commit 415b96b110d5b18e46d58b99b58e788f3de12995
Author: John Kehayias <[email protected]>
AuthorDate: Thu Dec 5 16:14:56 2024 -0500

    gnu: mesa: Update to 24.3.1.
    
    * gnu/packages/gl.scm (mesa): Update to 24.3.1.
    [arguments]: Add 'set-home-directory phase (build tries to use a
    shader cache, though this without it won't fail to build).
    
    Change-Id: I1fd7d1fe20109ccdd7386a82ecf7d415999c262a
---
 gnu/packages/gl.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index e1dfca7ca8..418970547e 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -303,7 +303,7 @@ also known as DXTn or DXTC) for Mesa.")
 (define-public mesa
   (package
     (name "mesa")
-    (version "24.2.5")
+    (version "24.3.1")
     (source
      (origin
        (method url-fetch)
@@ -313,7 +313,7 @@ also known as DXTn or DXTC) for Mesa.")
                                  "mesa-" version ".tar.xz")))
        (sha256
         (base32
-         "0vyrkmy8j5bygddi2bsssj9g1rrcg4vfhvw0bjxsbmif4km0ngbk"))))
+         "1bs310dw9jjzvvchszmb3jakqb5268ssp83ba9ybrrcw8h05jycw"))))
     (build-system meson-build-system)
     (propagated-inputs
      ;; The following are in the Requires.private field of gl.pc.
@@ -545,6 +545,9 @@ directory = ~a
                                         (from-crates-io 'rust-proc-macro2-1)
                                         (from-crates-io 'rust-paste-1))))))))
                 #~())
+         (add-after 'unpack 'set-home-directory
+           ;; Build tries to use a shader cache (non-fatal error).
+           (lambda _ (setenv "HOME" "/tmp")))
          (add-before 'configure 'fix-dlopen-libnames
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((out #$output))

Reply via email to