aspell: added new patch data-dirs-from-nix-profiles.patch

Aspell will search for dictionaries in all nix profiles even when used as library.
Setting data-dir or dict-dir in ASPELL_CONF will disable this behavior.
This commit is contained in:
Rostislav Beneš
2017-10-22 21:01:40 +02:00
parent 6d86fcb86d
commit ba4cefe4ae
4 changed files with 49 additions and 24 deletions
@@ -1,5 +1,9 @@
# Create a derivation that contains aspell and selected dictionaries.
# Composition is done using `pkgs.buildEnv`.
# Beware of that `ASPELL_CONF` used by this derivation is not always
# respected by libaspell (#28815) and in some cases, when used as
# dependency by another derivation, the passed dictionaries will be
# missing. However, invoking aspell directly should be fine.
{ aspell
, aspellDicts