aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2021-08-14 11:07:13 +0200
committerPjotr Prins2021-08-14 11:07:13 +0200
commitbb653c4e7c995daaf7daa4d1f19f2e010ac85bf7 (patch)
tree13641406fa554d8aa397c6b37730071d9041de5a
parent1013dcf63f60f7564daea10b527c60efad18b31d (diff)
downloadpangemma-bb653c4e7c995daaf7daa4d1f19f2e010ac85bf7.tar.gz
guix.scm: get VERSION
-rw-r--r--guix.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix.scm b/guix.scm
index 7d41480..2eea555 100644
--- a/guix.scm
+++ b/guix.scm
@@ -36,10 +36,13 @@
(define %git-commit
(read-string (open-pipe "git show HEAD | head -1 | cut -d ' ' -f 2" OPEN_READ)))
+(define %gemma-version
+ (read-string (open-pipe "cat VERSION" OPEN_READ)))
+
(define-public gemma-git
(package
(name "gemma-git")
- (version (git-version "0.98.4" "HEAD" %git-commit))
+ (version (git-version %gemma-version "HEAD" %git-commit))
(source (local-file %source-dir #:recursive? #t))
(build-system meson-build-system)
(inputs `(