aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-03-16 16:36:10 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2018-03-17 16:37:26 +0100
commit8696fbbad1904e6c5edb59f334f9d9ab7ddeeba7 (patch)
treefc42444ee115a97d7bacfe7013692ac5859914e4
parent49c4c4de8575821b0ba08b5c980b996577bcb9ec (diff)
downloadguix-8696fbbad1904e6c5edb59f334f9d9ab7ddeeba7.tar
guix-8696fbbad1904e6c5edb59f334f9d9ab7ddeeba7.tar.gz
gnu: shaderc: Use standard versioning scheme.
* gnu/packages/vulkan.scm (shaderc)[version]: Use GIT-VERSION with a ‘0.0.0’ prefix.
-rw-r--r--gnu/packages/vulkan.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 2daa857394..6ba9b94a3d 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -211,7 +212,7 @@ and the ICD.")
(revision "1"))
(package
(name "shaderc")
- (version (string-append "0.0-" revision "." (string-take commit 9)))
+ (version (git-version "0.0.0-" revision commit))
(source
(origin
(method git-fetch)