Skip to content

Jinx not finding installed libraries on NixOS #173

Answered by alanpearce
thibautbenjamin asked this question in Q&A
Discussion options

You must be logged in to vote

I fixed it by not using aspell; nuspell seems to work much better without any configuration, probably hunspell would be the same (they both use hunspell dictionaries). I didn't even need to use nuspellWithDicts. This is important (for me) because I was running into the issue where opening Emacs from the desktop environment (either Plasma6 or macOS) wouldn't load dictionaries, but if I launched it from a shell, it would (due to the ASPELL_CONF variable)

The Enchant docs make it sound like nuspell and hunspell are more modern than aspell.

Add to home.packages or environment.systemPackages:

with pkgs.hunspellDicts; [
  # whatever
]

Dictionary packages are in <nixpkgs/pkgs/development/librari…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@thibautbenjamin
Comment options

Comment options

You must be logged in to vote
1 reply
@thibautbenjamin
Comment options

Answer selected by thibautbenjamin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #172 on May 09, 2024 16:30.