pythonPackages.pyenchant: fix on darwin
This commit is contained in:
parent
6091bdfebe
commit
2ac2bd187e
@ -19967,6 +19967,9 @@ in {
|
||||
path_hack_script = "s|LoadLibrary(e_path)|LoadLibrary('${pkgs.enchant}/lib/' + e_path)|";
|
||||
in ''
|
||||
sed -i "${path_hack_script}" enchant/_enchant.py
|
||||
|
||||
# They hardcode a bad path for Darwin in their library search code
|
||||
substituteInPlace enchant/_enchant.py --replace '/opt/local/lib/' ""
|
||||
'';
|
||||
|
||||
# dictionaries needed for tests
|
||||
|
Loading…
Reference in New Issue
Block a user