parent
5c84d57a59
commit
31579c6b0a
2 changed files with 8 additions and 1 deletions
|
@ -45,7 +45,7 @@ buildPythonPackage rec {
|
||||||
++ stdenv.lib.optionals enableTk [ tcl tk tkinter libX11 ]
|
++ stdenv.lib.optionals enableTk [ tcl tk tkinter libX11 ]
|
||||||
++ stdenv.lib.optionals enableQt [ pyqt5 ];
|
++ stdenv.lib.optionals enableQt [ pyqt5 ];
|
||||||
|
|
||||||
setup_cfg = ./setup.cfg;
|
setup_cfg = if stdenv.isDarwin then ./setup-darwin.cfg else ./setup.cfg;
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
cp "$setup_cfg" ./setup.cfg
|
cp "$setup_cfg" ./setup.cfg
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
[directories]
|
||||||
|
basedirlist = .
|
||||||
|
|
||||||
|
[libs]
|
||||||
|
system_freetype = true
|
||||||
|
# LTO not working in darwin stdenv, see #19312
|
||||||
|
enable_lto = false
|
Loading…
Reference in a new issue