diff options
author | Pjotr Prins | 2021-08-14 11:07:13 +0200 |
---|---|---|
committer | Pjotr Prins | 2021-08-14 11:07:13 +0200 |
commit | bb653c4e7c995daaf7daa4d1f19f2e010ac85bf7 (patch) | |
tree | 13641406fa554d8aa397c6b37730071d9041de5a | |
parent | 1013dcf63f60f7564daea10b527c60efad18b31d (diff) | |
download | pangemma-bb653c4e7c995daaf7daa4d1f19f2e010ac85bf7.tar.gz |
guix.scm: get VERSION
-rw-r--r-- | guix.scm | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 `( |