nfstrace: fix for structured attrs

This commit is contained in:
Maximilian Bosch 2019-11-12 18:31:22 +01:00 committed by Jan Tojnar
parent 4a8de55be0
commit b92fc0fba4
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# To build with GCC 8+ it needs:
CXXFLAGS = [ "-Wno-class-memaccess" "-Wno-ignored-qualifiers" ];
CXXFLAGS = "-Wno-class-memaccess -Wno-ignored-qualifiers";
# CMake can't find json_c without:
NIX_CFLAGS_COMPILE = [ "-I${json_c.dev}/include/json-c" ];
NIX_CFLAGS_COMPILE = "-I${json_c.dev}/include/json-c";
doCheck = false; # requires network access