From eb615601bbe83c843cad9aab240163dbde0ded10 Mon Sep 17 00:00:00 2001 From: Ronan-Alexandre Cherrueau Date: Tue, 19 May 2026 10:06:45 +0200 Subject: [PATCH] aspellWithDicts: fix data-dir path In 52a23a9 the configuration `data-dir $out/share/aspell` was introduced to make sure that `aspell --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= create master ...` will fail if the dictionary has not been installed in the environment via `aspellWithDicts (dict: [ dict. ])` which is expected. Fixes #476684 (cherry picked from commit e7dd5593e843446a1daea0b730ba71fa58733be7) --- pkgs/development/libraries/aspell/aspell-with-dicts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/aspell/aspell-with-dicts.nix b/pkgs/development/libraries/aspell/aspell-with-dicts.nix index 16afeade6cd9..eaec588d12a5 100644 --- a/pkgs/development/libraries/aspell/aspell-with-dicts.nix +++ b/pkgs/development/libraries/aspell/aspell-with-dicts.nix @@ -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