facter: fix build with gcc9
This commit is contained in:
parent
7b42597a59
commit
bb8ee954be
@ -14,11 +14,13 @@ stdenv.mkDerivation rec {
|
|||||||
CXXFLAGS = "-fpermissive -Wno-error=catch-value";
|
CXXFLAGS = "-fpermissive -Wno-error=catch-value";
|
||||||
NIX_LDFLAGS = "-lblkid";
|
NIX_LDFLAGS = "-lblkid";
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DFACTER_RUBY=${ruby}/lib/libruby.so"
|
"-DFACTER_RUBY=${ruby}/lib/libruby.so"
|
||||||
"-DRUBY_LIB_INSTALL=${placeholder "out"}/lib/ruby"
|
"-DRUBY_LIB_INSTALL=${placeholder "out"}/lib/ruby"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-copy";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ boost cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby utillinux ];
|
buildInputs = [ boost cpp-hocon curl leatherman libwhereami libyamlcpp openssl ruby utillinux ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user