diff options
author | jgart <jgart@dismail.de> | 2024-09-15 23:50:08 -0500 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-09-16 00:08:06 -0500 |
commit | 00341f1ed00f133f74f5e207559022609174e1de (patch) | |
tree | 11c2df1ad48db0e3d2c0f1a29eeac74702a928b3 /gnu/packages/prolog.scm | |
parent | 947a74027038702c851b54847618f4068998d225 (diff) | |
download | guix-00341f1ed00f133f74f5e207559022609174e1de.tar guix-00341f1ed00f133f74f5e207559022609174e1de.tar.gz |
gnu: trealla: Patch package version string in build step.
* gnu/packages/prolog.scm (trealla) [arguments]: Patch version.
Change-Id: Ia9428a54e3d51deaf066a91674ff9f9eeadc5a20
Diffstat (limited to 'gnu/packages/prolog.scm')
-rw-r--r-- | gnu/packages/prolog.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/prolog.scm b/gnu/packages/prolog.scm index b5cc796086..f987cf3d02 100644 --- a/gnu/packages/prolog.scm +++ b/gnu/packages/prolog.scm @@ -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 _ |