mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: nspr: Build reproducibly.
Fixes <https://bugs.gnu.org/30097>. Reported by Gábor Boskovits <boskovits@gmail.com>. * gnu/packages/gnuzilla.scm (nspr)[arguments]: Add #:make-flags to prevent indeterministic timestamps from being recorded.
This commit is contained in:
parent
ae307724de
commit
6d7786ff13
1 changed files with 4 additions and 0 deletions
|
@ -268,6 +268,10 @@ (define-public nspr
|
|||
(string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib"))
|
||||
;; Use fixed timestamps for reproducibility.
|
||||
#:make-flags '("SH_DATE='1970-01-01 00:00:01'"
|
||||
;; This is epoch 1 in microseconds.
|
||||
"SH_NOW=100000")
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'configure 'chdir
|
||||
(lambda _ (chdir "nspr") #t)))))
|
||||
|
|
Loading…
Reference in a new issue