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
parent b5cbecd127
commit 624cecfd1e

View File

@ -12,6 +12,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/;