mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
facter: fix build with gcc9
This commit is contained in:
parent
7b42597a59
commit
bb8ee954be
1 changed files with 3 additions and 1 deletions
|
@ -14,11 +14,13 @@ stdenv.mkDerivation rec {
|
|||
CXXFLAGS = "-fpermissive -Wno-error=catch-value";
|
||||
NIX_LDFLAGS = "-lblkid";
|
||||
|
||||
cmakeFlags = [
|
||||
cmakeFlags = [
|
||||
"-DFACTER_RUBY=${ruby}/lib/libruby.so"
|
||||
"-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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue