summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-01-13 13:20:53 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-01-13 13:20:53 +0100
commitb6427439deead716ba4d178432b2a2e15304e40f (patch)
treedb8516e2eccc3d4d6db8852329135247e480ca34 /pkgs
parenta9b34eae0d8a90e5fbaa2260e713907918de7c9f (diff)
downloadnixpkgs-b6427439deead716ba4d178432b2a2e15304e40f.tar
nixpkgs-b6427439deead716ba4d178432b2a2e15304e40f.tar.gz
nixpkgs-b6427439deead716ba4d178432b2a2e15304e40f.tar.bz2
nixpkgs-b6427439deead716ba4d178432b2a2e15304e40f.tar.lz
nixpkgs-b6427439deead716ba4d178432b2a2e15304e40f.tar.xz
nixpkgs-b6427439deead716ba4d178432b2a2e15304e40f.tar.zst
nixpkgs-b6427439deead716ba4d178432b2a2e15304e40f.zip
python3Packages.matplotlib: Disable strictoverflow hardening on darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/matplotlib/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix
index 79c842f6d3e..a033e8a11ba 100644
--- a/pkgs/development/python-modules/matplotlib/default.nix
+++ b/pkgs/development/python-modules/matplotlib/default.nix
@@ -45,6 +45,11 @@ buildPythonPackage rec {
     Cocoa
   ];
 
+  # clang-11: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
+  hardeningDisable = lib.optionals stdenv.isDarwin [
+    "strictoverflow"
+  ];
+
   propagatedBuildInputs = [
     certifi
     contourpy