guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: rhino: Remove build timestamps.


From: guix-commits
Subject: 02/03: gnu: rhino: Remove build timestamps.
Date: Sun, 5 Jun 2022 20:12:25 -0400 (EDT)

vagrantc pushed a commit to branch master
in repository guix.

commit 14783af536a110ef5018518d2af920355b7391f9
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
AuthorDate: Sun Jun 5 11:03:22 2022 -0700

    gnu: rhino: Remove build timestamps.
    
    * gnu/packages/javascript.scm (rhino)[arguments]: Add 'remove-build-dates
      phase.
---
 gnu/packages/javascript.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 8ab8c46cd3..028b5c4391 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -837,6 +837,12 @@ and vice versa.")
        `(#:phases
          (modify-phases
              %standard-phases
+           (add-after 'unpack 'remove-build-dates
+             ;; Avoid embedding build date for reproducible builds
+             (lambda _
+               (substitute*
+                   "build.properties"
+                 (("..implementation.date.") ""))))
            (replace 'check
              (lambda* (#:key tests? inputs native-inputs
                        #:allow-other-keys)



reply via email to

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