guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: borg: Make man pages reproducible.


From: guix-commits
Subject: 01/02: gnu: borg: Make man pages reproducible.
Date: Mon, 4 Feb 2019 04:49:38 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 1e957fabcf24ba6b21f649677690c3f4fa02d283
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Feb 3 23:03:52 2019 +0100

    gnu: borg: Make man pages reproducible.
    
    * gnu/packages/backup.scm (borg)[arguments]: Add
    "remove-documentation-timestamps" phase.
---
 gnu/packages/backup.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index d50c7e4..c312f23 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2017 Rutger Helling <address@hidden>
 ;;; Copyright © 2018 Mark H Weaver <address@hidden>
 ;;; Copyright © 2018 Oleg Pykhalov <address@hidden>
-;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2018, 2019 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2019 Alex Vong <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -564,6 +564,11 @@ detection, and lossless compression.")
                ;; HOME=/homeless-shelter.
                (setenv "HOME" "/tmp")
                #t)))
+         (add-after 'unpack 'remove-documentation-timestamps ; reproducibility
+           (lambda _
+             (substitute* "setup.py"
+               (("write\\(':Date:'.*") "\n"))
+             #t))
          ;; The tests need to be run after Borg is installed.
          (delete 'check)
          (add-after 'install 'check



reply via email to

[Prev in Thread] Current Thread [Next in Thread]