nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

matplotlib: Disable LTO on darwin.

Needs #19312 or equivalent to work.

(cherry picked from commit 31579c6b0a643742d6ac6157d002de1e730a83cb)

authored by

Shea Levy and committed by
Robert Scott
a4e6bf38 b60f5e90

+8 -1
+1 -1
pkgs/development/python-modules/matplotlib/default.nix
··· 45 45 ++ stdenv.lib.optionals enableTk [ tcl tk tkinter libX11 ] 46 46 ++ stdenv.lib.optionals enableQt [ pyqt5 ]; 47 47 48 - setup_cfg = ./setup.cfg; 48 + setup_cfg = if stdenv.isDarwin then ./setup-darwin.cfg else ./setup.cfg; 49 49 preBuild = '' 50 50 cp "$setup_cfg" ./setup.cfg 51 51 '';
+7
pkgs/development/python-modules/matplotlib/setup-darwin.cfg
··· 1 + [directories] 2 + basedirlist = . 3 + 4 + [libs] 5 + system_freetype = true 6 + # LTO not working in darwin stdenv, see #19312 7 + enable_lto = false