mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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:
parent
010426e2c3
commit
2f3dec3de7
1 changed files with 6 additions and 0 deletions
|
@ -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 _
|
||||
|
|
Loading…
Reference in a new issue