[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: cuirass: Fix version generation.
From: |
guix-commits |
Subject: |
branch master updated: gnu: cuirass: Fix version generation. |
Date: |
Fri, 26 Mar 2021 16:15:36 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 9d72295 gnu: cuirass: Fix version generation.
9d72295 is described below
commit 9d72295827f1e9c82add42b1cbf2e740fb9109e5
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Mar 26 21:13:06 2021 +0100
gnu: cuirass: Fix version generation.
* gnu/packages/ci.scm (cuirass)[arguments]: Add a 'fix-version-gen phase.
---
gnu/packages/ci.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm
index 5afa4e2..f7f4bf4 100644
--- a/gnu/packages/ci.scm
+++ b/gnu/packages/ci.scm
@@ -65,7 +65,7 @@
"0sykgmh12llkk5qb63542wb7ywjiirscqmlvrsskfkqlgs7scsgg"))))
(build-system gnu-build-system)
(arguments
- '(#:modules ((guix build utils)
+ `(#:modules ((guix build utils)
(guix build gnu-build-system)
(ice-9 rdelim)
(ice-9 popen))
@@ -73,6 +73,13 @@
#:parallel-tests? #f
#:phases
(modify-phases %standard-phases
+ (add-before 'bootstrap 'fix-version-gen
+ (lambda _
+ (patch-shebang "build-aux/git-version-gen")
+
+ (call-with-output-file ".tarball-version"
+ (lambda (port)
+ (display ,version port)))))
(add-before 'check 'set-PATH-for-tests
(lambda* (#:key inputs #:allow-other-keys)
(let ((pg (assoc-ref inputs "ephemeralpg"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: cuirass: Fix version generation.,
guix-commits <=