From 0c6123f8aa6236dcce1320cd190865324f3a5f94 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 5 Jun 2022 22:39:37 -0700 Subject: gnu: aqbanking: Do not embed build date. * gnu/packages/gnucash.scm (aqbanking)[arguments]: Add 'use-version-instead-of-date phase. --- gnu/packages/gnucash.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3