libfaketime: Fix build on gcc 6

http://hydra.nixos.org/build/43031670
This commit is contained in:
Eelco Dolstra 2016-11-03 09:24:03 +01:00 committed by Robin Gloster
parent 0cb253853d
commit a2900f3f0f
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
makeFlagsArray+=(PREFIX="$out" LIBDIRNAME=/lib)
'';
# Work around "libfaketime.c:513:7: error: nonnull argument 'buf' compared to NULL [-Werror=nonnull-compare]".
NIX_CFLAGS_COMPILE = "-Wno-nonnull-compare";
meta = with stdenv.lib; {
description = "Report faked system time to programs without having to change the system-wide time";
homepage = http://www.code-wizards.com/projects/libfaketime/;