mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
aspellWithDicts: fix data-dir path
In52a23a9the configuration `data-dir $out/share/aspell` was introduced to make sure that `aspell --lang=<LANG> create master ...` finds the LANG.dat file. However, the correct location for language data files is $out/lib/aspell. This confusion also broke filter discovery as described in #476684. This commit fixes the location of language data files. Note: `aspell --lang=<LANG> create master ...` will fail if the dictionary has not been installed in the environment via `aspellWithDicts (dict: [ dict.<LANG> ])` which is expected. Fixes #476684 (cherry picked from commite7dd5593e8)
This commit is contained in:
parent
a9b2c5f866
commit
eb615601bb
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ buildEnv {
|
|||
pushd "${aspell}/bin"
|
||||
for prg in *; do
|
||||
if [ -f "$prg" ]; then
|
||||
makeWrapper "${aspell}/bin/$prg" "$out/bin/$prg" --set ASPELL_CONF "dict-dir $out/lib/aspell; data-dir $out/share/aspell"
|
||||
makeWrapper "${aspell}/bin/$prg" "$out/bin/$prg" --set ASPELL_CONF "dict-dir $out/lib/aspell; data-dir $out/lib/aspell"
|
||||
fi
|
||||
done
|
||||
popd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue