leatherman: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-02 19:45:08 +01:00
parent 4bf34b872e
commit ee1cffd641
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
owner = "puppetlabs";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=ignored-qualifiers" "-Wno-error=class-memaccess" "-Wno-error=catch-value" ];
NIX_CFLAGS_COMPILE = [
"-Wno-error=ignored-qualifiers"
"-Wno-error=class-memaccess"
"-Wno-error=catch-value"
"-Wno-error=deprecated-copy"
];
nativeBuildInputs = [ cmake ];
buildInputs = [ boost curl ruby ];
@ -19,7 +24,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://github.com/puppetlabs/leatherman/;
homepage = https://github.com/puppetlabs/leatherman/;
description = "A collection of C++ and CMake utility libraries";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];