guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: aqbanking: Do not embed build date.


From: guix-commits
Subject: branch master updated: gnu: aqbanking: Do not embed build date.
Date: Mon, 06 Jun 2022 01:58:56 -0400

This is an automated email from the git hooks/post-receive script.

vagrantc pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0c6123f8aa gnu: aqbanking: Do not embed build date.
0c6123f8aa is described below

commit 0c6123f8aa6236dcce1320cd190865324f3a5f94
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
AuthorDate: Sun Jun 5 22:39:37 2022 -0700

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]