Merge pull request #254239 from knuton/weasyprint-overridable-fontconfig
python3Packages.weasyprint: restore overriding of fontconfig file
This commit is contained in:
@@ -79,9 +79,9 @@ buildPythonPackage rec {
|
||||
|
||||
FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||
|
||||
# Fontconfig error: Cannot load default config file: No such file: (null)
|
||||
# Set env variable explicitly for Darwin, but allow overriding when invoking directly
|
||||
makeWrapperArgs = [
|
||||
"--set FONTCONFIG_FILE ${FONTCONFIG_FILE}"
|
||||
"--set-default FONTCONFIG_FILE ${FONTCONFIG_FILE}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user