libfaketime: fix build with gcc8

This commit is contained in:
Robin Gloster
2019-01-11 07:46:39 +01:00
committed by Franz Pletz
parent c051374da2
commit 9e356398bc

View File

@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
PREFIX = placeholder "out";
LIBDIRNAME = "/lib";
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type -Wno-error=format-truncation";
checkInputs = [ perl ];
meta = with stdenv.lib; {