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
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
1 changed files with 2 additions and 0 deletions

View File

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