summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-10-03 14:50:53 +0000
committerGitHub <noreply@github.com>2021-10-03 16:50:53 +0200
commitc7fc01cd77b4b45ae469f3aac25496384c527861 (patch)
treeea13842e3e7426ecf77734d15693515f5eda4655
parentfcadfea45c538f370394c0d36aa1e234fc79b8a9 (diff)
downloadnixpkgs-c7fc01cd77b4b45ae469f3aac25496384c527861.tar
nixpkgs-c7fc01cd77b4b45ae469f3aac25496384c527861.tar.gz
nixpkgs-c7fc01cd77b4b45ae469f3aac25496384c527861.tar.bz2
nixpkgs-c7fc01cd77b4b45ae469f3aac25496384c527861.tar.lz
nixpkgs-c7fc01cd77b4b45ae469f3aac25496384c527861.tar.xz
nixpkgs-c7fc01cd77b4b45ae469f3aac25496384c527861.tar.zst
nixpkgs-c7fc01cd77b4b45ae469f3aac25496384c527861.zip
aerospike: drop blanket -Werror (#140306)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
-rw-r--r--pkgs/servers/nosql/aerospike/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/servers/nosql/aerospike/default.nix b/pkgs/servers/nosql/aerospike/default.nix
index db7b39ac5c7..f35b1285da4 100644
--- a/pkgs/servers/nosql/aerospike/default.nix
+++ b/pkgs/servers/nosql/aerospike/default.nix
@@ -15,16 +15,12 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoconf automake libtool ];
   buildInputs = [ openssl zlib ];
 
-  NIX_CFLAGS_COMPILE = [
-    "-Wno-error=format-truncation"
-    "-Wno-error=address-of-packed-member"
-    "-Wno-error=format-overflow"
-    "-Wno-error=stringop-truncation"
-  ];
-
   preBuild = ''
     patchShebangs build/gen_version
     substituteInPlace build/gen_version --replace 'git describe' 'echo ${version}'
+
+    # drop blanket -Werror
+    substituteInPlace make_in/Makefile.in --replace '-Werror' ""
   '';
 
   installPhase = ''