python3Packages.weasyprint: fix fontconfig error on darwin
This commit is contained in:
parent
e7fdc329d4
commit
45fb93f966
@ -79,6 +79,11 @@ buildPythonPackage rec {
|
||||
|
||||
FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||
|
||||
# Fontconfig error: Cannot load default config file: No such file: (null)
|
||||
makeWrapperArgs = [
|
||||
"--set FONTCONFIG_FILE ${FONTCONFIG_FILE}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--isort --flake8 --cov --no-cov-on-fail" ""
|
||||
|
Loading…
Reference in New Issue
Block a user