summary refs log tree commit diff
path: root/pkgs/development/libraries/leatherman/default.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2019-11-02 19:45:08 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2019-11-02 19:50:51 +0100
commitee1cffd641c13ba0be37bee9aef70d64aa153b7a (patch)
tree38eebef10f87fe7188f99ca47e7d14a64c3cb629 /pkgs/development/libraries/leatherman/default.nix
parent4bf34b872e378a6d21cbe0e38d71330c5940749c (diff)
downloadnixpkgs-ee1cffd641c13ba0be37bee9aef70d64aa153b7a.tar
nixpkgs-ee1cffd641c13ba0be37bee9aef70d64aa153b7a.tar.gz
nixpkgs-ee1cffd641c13ba0be37bee9aef70d64aa153b7a.tar.bz2
nixpkgs-ee1cffd641c13ba0be37bee9aef70d64aa153b7a.tar.lz
nixpkgs-ee1cffd641c13ba0be37bee9aef70d64aa153b7a.tar.xz
nixpkgs-ee1cffd641c13ba0be37bee9aef70d64aa153b7a.tar.zst
nixpkgs-ee1cffd641c13ba0be37bee9aef70d64aa153b7a.zip
leatherman: fix build with gcc9
Diffstat (limited to 'pkgs/development/libraries/leatherman/default.nix')
-rw-r--r--pkgs/development/libraries/leatherman/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/libraries/leatherman/default.nix b/pkgs/development/libraries/leatherman/default.nix
index bdba8688f9d..7f7d34199be 100644
--- a/pkgs/development/libraries/leatherman/default.nix
+++ b/pkgs/development/libraries/leatherman/default.nix
@@ -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 ];