summary refs log tree commit diff
path: root/pkgs/tools/archivers
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-22 22:36:35 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-26 21:55:04 -0400
commit724e833ea2a9d1b16f7289e1244d0d7ff56d027b (patch)
tree7081889ff591cca1fb947c4c051b91d73b4eaf75 /pkgs/tools/archivers
parentd1f988ca3c22baf0e637eb1f082a49cad2c4ea31 (diff)
downloadnixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.gz
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.bz2
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.lz
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.xz
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.zst
nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.zip
treewide: disable -Werror for llvm 7
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r--pkgs/tools/archivers/p7zip/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/p7zip/default.nix b/pkgs/tools/archivers/p7zip/default.nix
index 5430c2cb73e..3dac4245de4 100644
--- a/pkgs/tools/archivers/p7zip/default.nix
+++ b/pkgs/tools/archivers/p7zip/default.nix
@@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
 
   setupHook = ./setup-hook.sh;
 
+  NIX_CFLAGS_COMPILE = "-Wno-error=c++11-narrowing";
+
   meta = {
     homepage = http://p7zip.sourceforge.net/;
     description = "A port of the 7-zip archiver";