facter: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-04 22:52:17 +01:00
parent 7b42597a59
commit bb8ee954be
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
"-DRUBY_LIB_INSTALL=${placeholder "out"}/lib/ruby"
];
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-copy";
nativeBuildInputs = [ cmake ];
buildInputs = [ boost cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby utillinux ];