diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-11-03 09:24:03 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-01-25 20:12:34 +0100 |
commit | a2900f3f0f6913653da773e98a880433bc246231 (patch) | |
tree | 0dc968f75e9e69448e47db3c5d943bb96b1f0ded /pkgs/development/libraries/libfaketime | |
parent | 0cb253853db3e93b1d6e29f37022031007f5dbe5 (diff) |
libfaketime: Fix build on gcc 6
http://hydra.nixos.org/build/43031670
Diffstat (limited to 'pkgs/development/libraries/libfaketime')
-rw-r--r-- | pkgs/development/libraries/libfaketime/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libfaketime/default.nix b/pkgs/development/libraries/libfaketime/default.nix index 16ee2151faa5b..c620254aacd6a 100644 --- a/pkgs/development/libraries/libfaketime/default.nix +++ b/pkgs/development/libraries/libfaketime/default.nix @@ -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/; |