gnu: tch-ipv6: Build reproducibly.

* gnu/packages/networking.scm (thc-ipv6)[arguments]: Add
  'use-source-date-epoch-in-manpages phase.
This commit is contained in:
Vagrant Cascadian 2022-06-10 15:53:36 -07:00 committed by Vagrant Cascadian
parent 010426e2c3
commit 2f3dec3de7
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -2772,6 +2772,12 @@ (define-public thc-ipv6
#:tests? #f ; No test suite.
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'use-source-date-epoch-in-manpages
;; For reproducible builds
(lambda _
(substitute* "Makefile"
(("date --iso-8601")
"date --iso-8601 --utc --date=@$(SOURCE_DATE_EPOCH)"))))
(delete 'configure) ; No ./configure script.
(add-before 'build 'patch-paths
(lambda _