guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: alpine: Build reproducibly.


From: guix-commits
Subject: 02/05: gnu: alpine: Build reproducibly.
Date: Tue, 2 Jul 2019 17:59:53 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 03b6c474454c1f90466435e872a005e296ddcbd0
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Jul 2 23:45:45 2019 +0200

    gnu: alpine: Build reproducibly.
    
    This follows up commit 54278e225e99707c3bd6f9eb37b8906851251b49.
    
    * gnu/packages/mail.scm (arguments): Replace Makefile.in substitution
    with the new ‘--with-date-stamp’ configure-flag.
---
 gnu/packages/mail.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index c45324d..6ab0f93 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2558,7 +2558,8 @@ operators and scripters.")
                                               "/lib")
                                (string-append "--with-interactive-spellcheck="
                                               (assoc-ref %build-inputs 
"aspell")
-                                              "/bin/aspell"))
+                                              "/bin/aspell")
+                               "--with-date-stamp=Thu  1 Jan 01:00:01 CET 
1970")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'make-reproducible
@@ -2566,9 +2567,6 @@ operators and scripters.")
              ;; This removes time-dependent code to make alpine reproducible.
              (substitute* "pico/blddate.c"
                (("%02d-%s-%d") "1970-01-01"))
-             (substitute* (list "alpine/Makefile.in"
-                                "web/src/alpined.d/Makefile.in")
-               (("`date`") "1970-01-01"))
              #t)))))
     (inputs
      `(("ncurses" ,ncurses)



reply via email to

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