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:
Sören Tempel 2025-10-10 08:00:31 +02:00 committed by Sharlatan Hellseher
parent 6eb7198ab6
commit 394a2accac
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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