aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-14 11:46:28 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-29 22:01:23 -0400
commite7afa035d42f0feb9dff8ea66a3686e44bd22802 (patch)
tree8c60316a2f4a79d73cd608e75a7bf6eb6dd6d911 /gnu
parente9e825387f1daefde91b0ba5c5ec3540b0b227fa (diff)
downloadguix-e7afa035d42f0feb9dff8ea66a3686e44bd22802.tar.gz
guix-e7afa035d42f0feb9dff8ea66a3686e44bd22802.zip
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2ce2c27c93..69cb8c878b 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -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")