From e68cf14d27fbebf87656762c02ab980b19d7796b Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 7 Jan 2024 09:38:05 +0200 Subject: [PATCH] python310Packages.matplotlib: enable_lto explicitly --- pkgs/development/python-modules/matplotlib/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index ac47a507ba29..bad385ee3ad9 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -175,9 +175,8 @@ buildPythonPackage rec { libs = { system_freetype = true; system_qhull = true; - } // lib.optionalAttrs stdenv.isDarwin { # LTO not working in darwin stdenv, see #19312 - enable_lto = false; + enable_lto = !stdenv.isDarwin; }; };