~ruther/guix-local

310b02de41bd69e807e49cc595a7361d13c4abe6 — Yelninei 1 year, 1 month ago efb6047
gnu: util-linux: Disable 64bit time_t on the 32bit Hurd.

* gnu/packages/linux.scm (util-linux): Add --disable-year2038 configure-flag for
32bit hurd.
Change-Id: I5637bb9bf3c02759c7c9ed85c1f0bdf93bf03352

Change-Id: I387dc1559041956874c756d53382e5c8addf8202
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +6 -1
@@ 2775,7 2775,12 @@ deviation, and minimum and maximum values.  It can show a nice histogram too.")
                   ;; Install completions where our bash-completion package
                   ;; expects them.
                   (string-append "--with-bashcompletiondir=" #$output
                                  "/etc/bash_completion.d"))
                                  "/etc/bash_completion.d")
                   ;; XXX: 32-bit Hurd platforms don't support 64bit time_t
                   #$@(if (and (target-hurd?)
                               (not (target-64bit?)))
                          '("--disable-year2038")
                          '()))

           ;; FIXME: For now we cannot reliably run tests on GNU/Hurd:
           ;; <https://bugs.gnu.org/47791>.