mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Revert "pythonPackages.pyenchant: point to enchant lib via PYENCHANT_LIBRARY_PATH"
This reverts commit 314d146c8c
.
This commit is contained in:
parent
8aa0d8f180
commit
052b079c02
@ -8956,7 +8956,13 @@ let
|
||||
md5 = "9f5acfd87d04432bf8df5f9710a17358";
|
||||
};
|
||||
|
||||
PYENCHANT_LIBRARY_PATH="${pkgs.enchant}/lib/libenchant.so";
|
||||
propagatedBuildInputs = with pythonPackages; [ pkgs.enchant ];
|
||||
|
||||
patchPhase = let
|
||||
path_hack_script = "s|LoadLibrary(e_path)|LoadLibrary('${pkgs.enchant}/lib/' + e_path)|";
|
||||
in ''
|
||||
sed -i "${path_hack_script}" enchant/_enchant.py
|
||||
'';
|
||||
|
||||
# dictionaries needed for tests
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user