summary refs log tree commit diff
path: root/gnu/packages/busybox.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-06-11 23:08:45 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2020-06-14 13:01:27 +0200
commitc37dc30e61c56de1815750e52186c6de5be38ee9 (patch)
treea07438c7bfa9caed53edd46a37a00ac51b46376e /gnu/packages/busybox.scm
parentf810d69b6c8fd72c85a363f2a210e1878f3cb00a (diff)
downloadguix-c37dc30e61c56de1815750e52186c6de5be38ee9.tar.gz
gnu: busybox: Make build reproducible.
* gnu/packages/busybox.scm (busybox)[arguments]<#:phases>[disable-timestamps]:
New phase.
Diffstat (limited to 'gnu/packages/busybox.scm')
-rw-r--r--gnu/packages/busybox.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/busybox.scm b/gnu/packages/busybox.scm
index e3431aa31b..0d692c6586 100644
--- a/gnu/packages/busybox.scm
+++ b/gnu/packages/busybox.scm
@@ -45,6 +45,10 @@
     (arguments
      '(#:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'disable-timestamps
+           (lambda _
+             (setenv "KCONFIG_NOTIMESTAMP" "1")
+             #t))
          (add-before 'configure 'disable-taskset
            ;; This feature fails its tests in the build environment,
            ;; was default 'n' until after 1.26.2.