gnu: borg: Make man pages reproducible.
* gnu/packages/backup.scm (borg)[arguments]: Add "remove-documentation-timestamps" phase.
This commit is contained in:
parent
26b7d23aa6
commit
1e957fabcf
|
@ -11,7 +11,7 @@
|
||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
||||||
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; 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>
|
;;; Copyright © 2019 Alex Vong <alexvong1995@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
|
@ -564,6 +564,11 @@ detection, and lossless compression.")
|
||||||
;; HOME=/homeless-shelter.
|
;; HOME=/homeless-shelter.
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
#t)))
|
#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.
|
;; The tests need to be run after Borg is installed.
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
|
|
Loading…
Reference in New Issue