mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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
1 changed files with 2 additions and 4 deletions
|
@ -2558,7 +2558,8 @@ (define-public alpine
|
||||||
"/lib")
|
"/lib")
|
||||||
(string-append "--with-interactive-spellcheck="
|
(string-append "--with-interactive-spellcheck="
|
||||||
(assoc-ref %build-inputs "aspell")
|
(assoc-ref %build-inputs "aspell")
|
||||||
"/bin/aspell"))
|
"/bin/aspell")
|
||||||
|
"--with-date-stamp=Thu 1 Jan 01:00:01 CET 1970")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'make-reproducible
|
(add-after 'unpack 'make-reproducible
|
||||||
|
@ -2566,9 +2567,6 @@ (define-public alpine
|
||||||
;; This removes time-dependent code to make alpine reproducible.
|
;; This removes time-dependent code to make alpine reproducible.
|
||||||
(substitute* "pico/blddate.c"
|
(substitute* "pico/blddate.c"
|
||||||
(("%02d-%s-%d") "1970-01-01"))
|
(("%02d-%s-%d") "1970-01-01"))
|
||||||
(substitute* (list "alpine/Makefile.in"
|
|
||||||
"web/src/alpined.d/Makefile.in")
|
|
||||||
(("`date`") "1970-01-01"))
|
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ncurses" ,ncurses)
|
`(("ncurses" ,ncurses)
|
||||||
|
|
Loading…
Reference in a new issue