summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-02-03 23:03:52 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-02-04 10:49:10 +0100
commit1e957fabcf24ba6b21f649677690c3f4fa02d283 (patch)
treed0d5aebff3776ef53629d9b3c1c42e179832f0ff /gnu
parent26b7d23aa6e67955f74cb5bcfe33b6f222c9df83 (diff)
gnu: borg: Make man pages reproducible.
* gnu/packages/backup.scm (borg)[arguments]: Add "remove-documentation-timestamps" phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/backup.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index d50c7e4fdc..c312f23c1a 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Alex Vong <alexvong1995@gmail.com>
;;;
;;; 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