feat: add custom dictionary to aspell

This commit is contained in:
Kiana Sheibani 2025-10-22 13:18:19 -04:00
parent 37f05c1163
commit 3dcc3b3f34
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -14,10 +14,13 @@ in {
aspell = aspell.overrideAttrs (super: {
postInstall = super.postInstall + ''
mkdir -p $out/etc
cat > $out/etc/aspell.conf << EOF
lang en_US
add-extra-dicts en-computers.rws
add-extra-dicts en_US-science.rws
cat >$out/lib/aspell/en_US-custom.multi <<EOF
add en_US-w_accents.multi
add en-computers.rws
add en_US-science.rws
EOF
cat >$out/etc/aspell.conf <<EOF
master en_US-custom
EOF
'';
});