aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-12-06 18:22:42 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-01-08 21:56:01 +0100
commitf09948fd442c22f0b1873ff40b64827a0bbe8a2c (patch)
tree632c7344fff4886415c2500f8c0eaa3e8c496b0e /gnu/packages
parent0d58d1acaac6d5ed9f9b480c454a57a0f3fd9645 (diff)
downloadguix-f09948fd442c22f0b1873ff40b64827a0bbe8a2c.tar
guix-f09948fd442c22f0b1873ff40b64827a0bbe8a2c.tar.gz
gnu: libfaketime: Fix failing test.
* gnu/packages/check.scm (libfaketime)[arguments]: Set environment variable before building.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/check.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index f61e96422b..7f548636a7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2298,6 +2298,12 @@ portable to just about any platform.")
(let ((out (assoc-ref outputs "out")))
(setenv "CC" "gcc")
(setenv "PREFIX" out)
+
+ ;; XXX: Without this flag, the CLOCK_REALTIME test hangs
+ ;; indefinitely. See README.packagers for more information.
+ ;; Try removing this for future versions of libfaketime.
+ (setenv "FAKETIME_COMPILE_CFLAGS" "-DFORCE_MONOTONIC_FIX")
+
#t)))
(add-before 'check 'pre-check
(lambda _