mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: kissat: Make build reproducible.
* gnu/packages/maths.scm (kissat)[#:phases] <patch-source>: Don't include current date in build-header. Change-Id: Iae8dde38de8badb2f5975f69b2221faebd043371 Reviewed-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
6eb7198ab6
commit
394a2accac
1 changed files with 5 additions and 0 deletions
|
|
@ -9888,6 +9888,11 @@ researchers and developers alike to get started on SAT.")
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "scripts/generate-build-header.sh"
|
||||
;; by default BUILD includes the build date which
|
||||
;; makes the build not reproducible.
|
||||
(("^BUILD=.*$")
|
||||
"BUILD=guix\n"))
|
||||
(substitute* "src/file.c"
|
||||
(("(bzip2|gzip|lzma|xz) -c" all cmd)
|
||||
(string-append (search-input-file inputs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue