summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-06-06 13:27:15 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-06 13:50:50 -0700
commit8bac52e6f31c732ddec8747378c2fad643a9e964 (patch)
tree8a51826d6aba50604f465b637c137151ae7928f6 /gnu
parenta04a987450908a84fa5fde0caa25a6a50027c73c (diff)
downloadguix-8bac52e6f31c732ddec8747378c2fad643a9e964.tar.gz
gnu: perl-term-size-perl: Remove timestamps.
* gnu/packages/perl.sc (perl-term-size-perl)[arguments]: Add
  'remote-timestamps phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 5fc4645244..1f947b48fa 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -10020,6 +10020,13 @@ the job on behalf of @code{Term::Size::Any}.")
                            "Term-Size-Perl-" version ".tar.gz"))
        (sha256
         (base32 "17i05y186l977bhp32b24c8rqasmg1la934dizf5sc0vrd36g6mf"))))
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'remove-timestamps
+                    ;; Remove timestamp in comment for reproducible builds
+                    (lambda _
+                      (substitute* "inc/Probe.pm"
+                        ((". created ...scalar localtime..") "")))))))
     (build-system perl-build-system)
     (home-page "https://metacpan.org/release/Term-Size-Perl")
     (synopsis "Perl extension for retrieving terminal size (Perl version)")