diff options
author | dan <i@dan.games> | 2022-11-19 23:02:38 +0800 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-20 09:24:53 +0100 |
commit | 8915e43ce0b06ded92f3a79b4de10c494b63aedf (patch) | |
tree | f7b63af78bda50b9030f796df5ae90f604a93120 /gnu/packages/vulkan.scm | |
parent | 7d5e045a691fcdbbfb1e75e4f4660396403c1d8d (diff) | |
download | guix-8915e43ce0b06ded92f3a79b4de10c494b63aedf.tar.gz |
gnu: spirv-headers: Replace version with %vulkan-sdk-version.
* gnu/packages/vulkan.scm (spirv-headers) [version]: Replace with %vulkan-sdk-version variable. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages/vulkan.scm')
-rw-r--r-- | gnu/packages/vulkan.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 57beee7f5b..6f08eab2a0 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -43,16 +43,18 @@ #:use-module (gnu packages wine) #:use-module (gnu packages xorg)) +(define %vulkan-sdk-version "sdk-1.3.231.1") + (define-public spirv-headers (package (name "spirv-headers") - (version "1.3.231.1") + (version %vulkan-sdk-version) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/KhronosGroup/SPIRV-Headers") - (commit (string-append "sdk-" version)))) + (commit version))) (sha256 (base32 "0z8b485hryya2g0jxv7amwg3fjj7pchbgnsa5ldf5fwgh5js0icm")) |