gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibility.

* gnu/packages/linux.scm (make-linux-libre*) [phases] {set-environment}: Set
KBUILD_BUILD_VERSION to 1.

Change-Id: I6c2e561605a13c757a4eb4d1c59343ba26464067
This commit is contained in:
Maxim Cournoyer 2024-05-14 11:46:28 -04:00
parent e9e825387f
commit e7afa035d4
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -1023,6 +1023,7 @@ ARCH and optionally VARIANT, or #f if there is no such configuration."
(setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH"))
;; Other variables useful for reproducibility.
(setenv "KBUILD_BUILD_VERSION" "1")
(setenv "KBUILD_BUILD_USER" "guix")
(setenv "KBUILD_BUILD_HOST" "guix")