guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/10: gnu: spirv-tools: Replace version with %vulkan-sdk-version.


From: guix-commits
Subject: 02/10: gnu: spirv-tools: Replace version with %vulkan-sdk-version.
Date: Sun, 20 Nov 2022 03:32:29 -0500 (EST)

mbakke pushed a commit to branch staging
in repository guix.

commit 83bd0430b8f5cdfe1914c35d63310a64163239ec
Author: dan <i@dan.games>
AuthorDate: Sat Nov 19 23:02:39 2022 +0800

    gnu: spirv-tools: Replace version with %vulkan-sdk-version.
    
    * gnu/packages/vulkan.scm (spirv-tools)[version]: Replace with
    %vulkan-sdk-version.
    The commit of tag '2022.4' and 'sdk-1.3.231.1' are the same.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/vulkan.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 6f08eab2a0..d95c875c7a 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -80,13 +80,13 @@ and for the GLSL.std.450 extended instruction set.
 (define-public spirv-tools
   (package
     (name "spirv-tools")
-    (version "2022.4")
+    (version %vulkan-sdk-version)
     (source
      (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/KhronosGroup/SPIRV-Tools";)
-            (commit (string-append "v" version))))
+            (commit version)))
       (sha256
        (base32 "03d489ind2az7w7q1slj3mdc04372r3qqbnd7m9akxbg7yix1a5j"))
       (file-name (git-file-name name version))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]