aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gnucash.scm
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-06-05 22:39:37 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-05 22:56:09 -0700
commit0c6123f8aa6236dcce1320cd190865324f3a5f94 (patch)
tree57a6335a8244a40f9f74fc9fdca9743f8bc5a6d9 /gnu/packages/gnucash.scm
parentae1d8d6a6f3eb3f705394061be5fcf0efa996870 (diff)
downloadguix-0c6123f8aa6236dcce1320cd190865324f3a5f94.tar
guix-0c6123f8aa6236dcce1320cd190865324f3a5f94.tar.gz
gnu: aqbanking: Do not embed build date.
* gnu/packages/gnucash.scm (aqbanking)[arguments]: Add 'use-version-instead-of-date phase.
Diffstat (limited to 'gnu/packages/gnucash.scm')
-rw-r--r--gnu/packages/gnucash.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index ec50c8aaa6..01099375d3 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -303,7 +303,15 @@ applications and libraries. It is used by AqBanking.")
(arguments
`(;; Parallel building fails because aqhbci is required before it's
;; built.
- #:parallel-build? #f))
+ #:parallel-build? #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; Embed the package version instead of the build date
+ (add-after 'unpack 'use-version-instead-of-date
+ (lambda _
+ (substitute*
+ "src/libs/plugins/backends/aqhbci/header.xml.in"
+ (("@DATETIME@") ,version)))))))
(propagated-inputs
(list gwenhywfar))
(inputs