From bb653c4e7c995daaf7daa4d1f19f2e010ac85bf7 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 14 Aug 2021 11:07:13 +0200 Subject: guix.scm: get VERSION --- guix.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 `( -- cgit v1.2.3