Skip to content

Commit

Permalink
pythonPackages.pyenchant: fix on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
copumpkin committed Feb 6, 2017
1 parent 6091bdf commit 2ac2bd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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
Expand Down

0 comments on commit 2ac2bd1

Please sign in to comment.