diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-03-26 21:13:06 +0100 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-03-26 21:15:19 +0100 |
commit | 9d72295827f1e9c82add42b1cbf2e740fb9109e5 (patch) | |
tree | 4e6acc8123c3a38366cb273a71f0ab25ed110344 /gnu | |
parent | e8337f1e45b57035c6e5d45133aa9412d4e5e882 (diff) | |
download | guix-9d72295827f1e9c82add42b1cbf2e740fb9109e5.tar.gz |
gnu: cuirass: Fix version generation.
* gnu/packages/ci.scm (cuirass)[arguments]: Add a 'fix-version-gen phase.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ci.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index 5afa4e28b2..f7f4bf4dc1 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")) |