gnu: alpine: Build reproducibly.

This follows up commit 54278e225e.

* gnu/packages/mail.scm (arguments): Replace Makefile.in substitution
with the new ‘--with-date-stamp’ configure-flag.
This commit is contained in:
Tobias Geerinckx-Rice 2019-07-02 23:45:45 +02:00
parent 0ca2507319
commit 03b6c47445
No known key found for this signature in database
GPG Key ID: D889B0F018C5493C
1 changed files with 2 additions and 4 deletions

View File

@ -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)