Skip to content

Commit 2ac2bd1

Browse files
committedFeb 6, 2017
pythonPackages.pyenchant: fix on darwin
1 parent 6091bdf commit 2ac2bd1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎pkgs/top-level/python-packages.nix

+3
Original file line numberDiff line numberDiff line change
@@ -19967,6 +19967,9 @@ in {
1996719967
path_hack_script = "s|LoadLibrary(e_path)|LoadLibrary('${pkgs.enchant}/lib/' + e_path)|";
1996819968
in ''
1996919969
sed -i "${path_hack_script}" enchant/_enchant.py
19970+
19971+
# They hardcode a bad path for Darwin in their library search code
19972+
substituteInPlace enchant/_enchant.py --replace '/opt/local/lib/' ""
1997019973
'';
1997119974

1997219975
# dictionaries needed for tests

0 commit comments

Comments
 (0)
Please sign in to comment.