gnu: aqbanking: Do not embed build date.

* gnu/packages/gnucash.scm (aqbanking)[arguments]: Add
  'use-version-instead-of-date phase.
This commit is contained in:
Vagrant Cascadian 2022-06-05 22:39:37 -07:00 committed by Vagrant Cascadian
parent ae1d8d6a6f
commit 0c6123f8aa
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -303,7 +303,15 @@ (define-public aqbanking
(arguments (arguments
`(;; Parallel building fails because aqhbci is required before it's `(;; Parallel building fails because aqhbci is required before it's
;; built. ;; 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 (propagated-inputs
(list gwenhywfar)) (list gwenhywfar))
(inputs (inputs