summary refs log tree commit diff
path: root/pkgs/development/python-modules/cffi
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-10-11 22:07:40 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-11-24 15:17:13 -0800
commit1be74eb17dc8baaf2b8f96811f527ec82b8d994f (patch)
tree9c98ba296b5d43eedb1548c34250c7e68987affc /pkgs/development/python-modules/cffi
parent169c34a6a7af67bf9fed7cf596af226339af79b1 (diff)
downloadnixpkgs-1be74eb17dc8baaf2b8f96811f527ec82b8d994f.tar
nixpkgs-1be74eb17dc8baaf2b8f96811f527ec82b8d994f.tar.gz
nixpkgs-1be74eb17dc8baaf2b8f96811f527ec82b8d994f.tar.bz2
nixpkgs-1be74eb17dc8baaf2b8f96811f527ec82b8d994f.tar.lz
nixpkgs-1be74eb17dc8baaf2b8f96811f527ec82b8d994f.tar.xz
nixpkgs-1be74eb17dc8baaf2b8f96811f527ec82b8d994f.tar.zst
nixpkgs-1be74eb17dc8baaf2b8f96811f527ec82b8d994f.zip
cffi: Silence warning causing test failures
Diffstat (limited to 'pkgs/development/python-modules/cffi')
-rw-r--r--pkgs/development/python-modules/cffi/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/cffi/default.nix b/pkgs/development/python-modules/cffi/default.nix
index 3092ebec23f..57806426d95 100644
--- a/pkgs/development/python-modules/cffi/default.nix
+++ b/pkgs/development/python-modules/cffi/default.nix
@@ -28,7 +28,7 @@ if isPyPy then null else buildPythonPackage rec {
 
   # The tests use -Werror but with python3.6 clang detects some unreachable code.
   NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
-    "-Wno-unused-command-line-argument -Wno-unreachable-code";
+    "-Wno-unused-command-line-argument -Wno-unreachable-code -Wno-c++11-narrowing";
 
   doCheck = !stdenv.hostPlatform.isMusl;