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:
parent
0ca2507319
commit
03b6c47445
|
@ -2558,7 +2558,8 @@ (define-public alpine
|
|||
"/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 @@ (define-public alpine
|
|||
;; 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)
|
||||
|
|
Loading…
Reference in a new issue