gnu: netsurf: Remove timestamp from build.

* gnu/packages/web.scm (netsurf)[arguments]: Add 'remove-timestamps phase.
This commit is contained in:
Vagrant Cascadian 2022-06-02 13:11:33 -07:00 committed by Vagrant Cascadian
parent aaed8bab46
commit 76668c4b13
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -5526,6 +5526,12 @@ (define-public netsurf
#:phases
(modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'remove-timestamps
;; Avoid embedding timestamp for reproducible builds
(lambda _
(substitute* "utils/git-testament.pl"
(("WT_COMPILEDATE ..$compiledate")
"WT_COMPILEDATE \\\""))))
(add-after 'build 'adjust-welcome
(lambda _
(substitute* "frontends/gtk/res/welcome.html"