diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-12-06 18:22:42 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-01-08 21:56:01 +0100 |
commit | f09948fd442c22f0b1873ff40b64827a0bbe8a2c (patch) | |
tree | 632c7344fff4886415c2500f8c0eaa3e8c496b0e | |
parent | 0d58d1acaac6d5ed9f9b480c454a57a0f3fd9645 (diff) | |
download | guix-patches-f09948fd442c22f0b1873ff40b64827a0bbe8a2c.tar guix-patches-f09948fd442c22f0b1873ff40b64827a0bbe8a2c.tar.gz |
gnu: libfaketime: Fix failing test.
* gnu/packages/check.scm (libfaketime)[arguments]: Set environment variable
before building.
-rw-r--r-- | gnu/packages/check.scm | 6 |
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 _ |