gnu: cuirass: Fix version generation.
* gnu/packages/ci.scm (cuirass)[arguments]: Add a 'fix-version-gen phase.
This commit is contained in:
parent
e8337f1e45
commit
9d72295827
1 changed files with 8 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
||||||
"0sykgmh12llkk5qb63542wb7ywjiirscqmlvrsskfkqlgs7scsgg"))))
|
"0sykgmh12llkk5qb63542wb7ywjiirscqmlvrsskfkqlgs7scsgg"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((guix build utils)
|
`(#:modules ((guix build utils)
|
||||||
(guix build gnu-build-system)
|
(guix build gnu-build-system)
|
||||||
(ice-9 rdelim)
|
(ice-9 rdelim)
|
||||||
(ice-9 popen))
|
(ice-9 popen))
|
||||||
|
@ -73,6 +73,13 @@
|
||||||
#:parallel-tests? #f
|
#:parallel-tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'check 'set-PATH-for-tests
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((pg (assoc-ref inputs "ephemeralpg"))
|
(let ((pg (assoc-ref inputs "ephemeralpg"))
|
||||||
|
|
Reference in a new issue