gnu: trealla: Patch package version string in build step.
* gnu/packages/prolog.scm (trealla) [arguments]: Patch version. Change-Id: Ia9428a54e3d51deaf066a91674ff9f9eeadc5a20
This commit is contained in:
parent
947a740270
commit
00341f1ed0
@ -212,6 +212,11 @@ it.")
|
||||
#~(modify-phases %standard-phases
|
||||
;; Upstream does not use a configure script.
|
||||
(delete 'configure)
|
||||
(add-before 'build 'patch-package-version
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("\\$\\(shell git describe --abbrev=4 --dirty --always --tags\\)")
|
||||
(string-append "v" #$version)))))
|
||||
(replace 'install
|
||||
;; Upstream does not provide an install target.
|
||||
(lambda _
|
||||
|
Loading…
Reference in New Issue
Block a user