liboping: fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-11 04:05:32 +01:00
parent 9e612cc860
commit 6f0282dfcd
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1n2wkmvw6n80ybdwkjq8ka43z2x8mvxq49byv61b52iyz69slf7b"; sha256 = "1n2wkmvw6n80ybdwkjq8ka43z2x8mvxq49byv61b52iyz69slf7b";
}; };
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" ];
buildInputs = [ ncurses perl ]; buildInputs = [ ncurses perl ];
configureFlags = stdenv.lib.optional (perl == null) "--with-perl-bindings=no"; configureFlags = stdenv.lib.optional (perl == null) "--with-perl-bindings=no";