mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
committed by
Sharlatan Hellseher
parent
6eb7198ab6
commit
394a2accac
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user