From 9254bfc0e0e7446a3cf30e359c2aee9eba3a2450 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Fri, 6 Aug 2021 15:16:39 -0400 Subject: [PATCH] python3Packages.numpy: workaround flakey compiler feature detection --- pkgs/development/python-modules/numpy/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index b4482af99586..9071cec1b03d 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -73,6 +73,10 @@ in buildPythonPackage rec { ln -s ${cfg} site.cfg ''; + # Workaround flakey compiler feature detection + # https://github.com/numpy/numpy/issues/19624 + hardeningDisable = [ "strictoverflow" ]; + enableParallelBuilding = true; checkInputs = [