mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: directfb: Remove timestamp to build reproducibly.
* gnu/packages/graphics.scm (directfb)[arguments]: Add 'remove-buildtime phase.
This commit is contained in:
parent
ec6122250d
commit
397b103bef
1 changed files with 5 additions and 0 deletions
|
@ -177,6 +177,11 @@ (define-public directfb
|
|||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-buildtime
|
||||
;; Remove embedded build time for reproducible builds
|
||||
(lambda _
|
||||
(substitute* "src/core/core.c"
|
||||
(("..BUILDTIME..") ""))))
|
||||
(add-after 'unpack 'disable-configure-during-bootstrap
|
||||
(lambda _
|
||||
(substitute* "autogen.sh"
|
||||
|
|
Loading…
Reference in a new issue