We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c84d57 commit 31579c6Copy full SHA for 31579c6
2 files changed
pkgs/development/python-modules/matplotlib/default.nix
@@ -45,7 +45,7 @@ buildPythonPackage rec {
45
++ stdenv.lib.optionals enableTk [ tcl tk tkinter libX11 ]
46
++ stdenv.lib.optionals enableQt [ pyqt5 ];
47
48
- setup_cfg = ./setup.cfg;
+ setup_cfg = if stdenv.isDarwin then ./setup-darwin.cfg else ./setup.cfg;
49
preBuild = ''
50
cp "$setup_cfg" ./setup.cfg
51
'';
pkgs/development/python-modules/matplotlib/setup-darwin.cfg
@@ -0,0 +1,7 @@
1
+[directories]
2
+basedirlist = .
3
+
4
+[libs]
5
+system_freetype = true
6
+# LTO not working in darwin stdenv, see #19312
7
+enable_lto = false
0 commit comments