summary refs log tree commit diff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-06-02 13:11:33 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-02 13:15:30 -0700
commit76668c4b1356fd0c9be4ae4297cc7ad2141c2060 (patch)
tree1b75ea0f06ad5711619434a6779e6a7921bdb808
parentaaed8bab4614502822adeb999bad4ee0502009d9 (diff)
downloadguix-76668c4b1356fd0c9be4ae4297cc7ad2141c2060.tar.gz
gnu: netsurf: Remove timestamp from build.
* gnu/packages/web.scm (netsurf)[arguments]: Add 'remove-timestamps phase.
-rw-r--r--gnu/packages/web.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 8c74f742f6..8306ea54fb 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5526,6 +5526,12 @@ w3c webidl files and a binding configuration file.")
        #: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"