Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aspell dictionary #1000

Closed
kevinfish opened this issue Sep 21, 2013 · 31 comments
Closed

aspell dictionary #1000

kevinfish opened this issue Sep 21, 2013 · 31 comments
Assignees
Labels
0.kind: bug Something is broken 6.topic: non-nixos Running packages on non-NixOS Linux 9.needs: reporter feedback This issue needs the person who filed it to respond

Comments

@kevinfish
Copy link

I've installed aspell and aspellDicts.en but when I do aspell -c it says:

Error: No word lists can be found for the language "en_US".

@bjornfor
Copy link
Contributor

Did you try to log out and back in again? Aspell can unfortunately only handle one dict-dir directive, and the decision on which dict-dir to use is made in when you log in (in /etc/profile). So it is actually the expected behaviour that aspell doesn't find its dictionary until you log in again.

The only real fix is to patch aspell, teaching it to look at a list of dict-dirs. Other distros don't have this issue, because they just have a single place for aspell to look for dictionaries. But in nix they can be located in different profiles.

@bjornfor
Copy link
Contributor

Also note that, until recently, aspell would only work if installed with nix-env. This changed in NixOS/nixos@0192c02 so that it'd work from any profile (system, default, user).

@kevinfish
Copy link
Author

logging out and back in didn't help. It was installed globally. I'll try it with nix-env.

@peti
Copy link
Member

peti commented Oct 3, 2013

@kevinfish, did you manage to remedy this issue?

@kevinfish
Copy link
Author

@peti, I think so. How do I tell if I've installed something with nix-env -i overlaying a globally installed package?

@bjornfor
Copy link
Contributor

@kevinfish: I can think of two ways.

  • See output of which -a some-program
  • See if nix-env -qsP lists anything you have in systemPackages.

@shlevy
Copy link
Member

shlevy commented Apr 4, 2014

This issue seems fixed, please reopen if not.

@shlevy shlevy closed this as completed Apr 4, 2014
@jwiegley
Copy link
Contributor

This issue is not fixed:

Hermes:/usr/local/src/nixpkgs master $ nix-env -iA nixpkgs.aspell nixpkgs.aspellDicts.en
replacing old `aspell-0.60.6.1'
replacing old `aspell-dict-en-7.1-0'
installing `aspell-0.60.6.1'
installing `aspell-dict-en-7.1-0'
building path(s) `/nix/store/1g1bz5zxr9rpg79cmnkra724wb933ziv-user-environment'
created 1140 symlinks in user environment
Hermes:/usr/local/src/nixpkgs master $ aspell dicts
Hermes:/usr/local/src/nixpkgs master $ 

Doing some analysis reveals that the aspell install creates the following directory:

/Users/johnw/.nix-profile/lib/aspell-0.60

But nixpkgs.aspellDicts.en installs into this directory:

/Users/johnw/.nix-profile/lib/aspell

Using strace (well, dtruss on the Mac), I can verify that aspell is only look for dictionaries in the first directory, and so it doesn't find it.

@jwiegley
Copy link
Contributor

@shlevy Please reopen

@peti peti reopened this Apr 11, 2014
@jwiegley
Copy link
Contributor

Note that this command does at least work:

aspell -d ~/.nix-profile/lib/aspell/en_US.multi pipe

@jwiegley
Copy link
Contributor

Also, you can set this in ~/.aspell-conf:

data-dir /Users/johnw/.nix-profile/lib/aspell

@kyrias
Copy link
Contributor

kyrias commented Sep 6, 2014

@jwiegley's solution works for me too, tho the file is called ~/.aspell.conf

@bjornfor
Copy link
Contributor

bjornfor commented Sep 6, 2014

Is this a darwin only issue? I don't see it on NixOS. When installing aspell I get ~/.nix-profile/lib/aspell (which the code in /etc/profile picks up), not ~/.nix-profile/lib/aspell-0.60.

@michelk
Copy link
Contributor

michelk commented Oct 17, 2014

On Fedora and Debian I don't have the directory aspell-0.60. Nevertheless ~/.nix-profile/lib/aspell is not picked up by aspell; setting data-dir solves it.

badmutex added a commit to badmutex/dotfiles that referenced this issue Sep 3, 2015
aspell was not picking up dictionaries, even though aspellDicts.en was
installed. This is a [familiar issue].
The fix is to set `data-dir = ~/.nix-profile/lib/aspell` in
~/.aspell.conf.

[familiar issue]: NixOS/nixpkgs#1000
@matthiasbeyer
Copy link
Contributor

It seems that this issue can be solved via configuration of aspell itself. Can we close this issue therefor?

Ping @kevinfish

@cstrahan cstrahan self-assigned this Nov 21, 2015
bnikolic added a commit to bnikolic/nixpkgs that referenced this issue Dec 18, 2015
It is better to specify data-dir in the environmental variable since
then both the language description files and the dictionaries will be
found. Since dict-dir defaults to data-dir only the latter needs to be
set. See for example NixOS#1000
garbas pushed a commit that referenced this issue Dec 22, 2015
It is better to specify data-dir in the environmental variable since
then both the language description files and the dictionaries will be
found. Since dict-dir defaults to data-dir only the latter needs to be
set. See for example #1000
@jgeerds jgeerds added 0.kind: bug Something is broken 9.needs: reporter feedback This issue needs the person who filed it to respond labels Jan 22, 2016
@dysinger
Copy link
Contributor

dysinger commented Apr 3, 2016

having to twiddle with a hard coded path (~ and $HOME don't work) in a config file is not the most awesome experience

@mbucc
Copy link

mbucc commented Jul 19, 2016

Whenever I have used it in the past, it works after install, no need to tell it where the dictionary lives.

@bjornfor
Copy link
Contributor

bjornfor commented Sep 8, 2016

Closing based on last comment.

@bjornfor bjornfor closed this as completed Sep 8, 2016
@shanemikel
Copy link
Contributor

I have this problem, too. (on OSX)

@bjornfor bjornfor reopened this Feb 12, 2017
@bjornfor bjornfor added the 6.topic: non-nixos Running packages on non-NixOS Linux label Mar 28, 2017
eentzel added a commit to eentzel/dotfiles that referenced this issue Mar 30, 2017
@FRidh
Copy link
Member

FRidh commented Jun 16, 2017

If I am correct this is supposed to be solved with #24425 and can therefore be closed.

I've just opened #26622 where composition is used instead of going through the profiles to find the dictionaries.

@mjhoy
Copy link
Contributor

mjhoy commented Aug 28, 2017

aspell works fine for me now (darwin).

@FRidh FRidh closed this as completed Aug 28, 2017
@turboMaCk
Copy link
Member

This doesn't work for me on nixos even with .aspell-conf. I'm using nixos https://nixos.org/channels/nixos-unstable

marek@nixos-mainframe λ ~/Dotfiles (master●)   
❯❯❯ which aspell
/home/marek/.nix-profile/bin/aspell

marek@nixos-mainframe λ ~/Dotfiles (master●)   
❯❯❯ cat ~/.aspell-conf 
data-dir /home/marek/.nix-profile/lib/aspell

marek@nixos-mainframe λ ~/Dotfiles (master●)   
❯❯❯ ls /home/marek/.nix-profile/lib/aspell 
ccpp.amf             cp1255.cmap        iso-8859-10.cmap  iso-8859-2.cset  ispell             spell
comment.amf          cp1255.cset        iso-8859-10.cset  iso-8859-3.cmap  koi8-r.cmap        split.kbd
context-filter.info  cp1256.cmap        iso-8859-11.cmap  iso-8859-3.cset  koi8-r.cset        standard.kbd
context-filter.la    cp1256.cset        iso-8859-11.cset  iso-8859-4.cmap  koi8-u.cmap        tex.amf
context-filter.so    cp1257.cmap        iso-8859-13.cmap  iso-8859-4.cset  koi8-u.cset        tex-filter.info
cp1250.cmap          cp1257.cset        iso-8859-13.cset  iso-8859-5.cmap  none.amf           tex-filter.la
cp1250.cset          cp1258.cmap        iso-8859-14.cmap  iso-8859-5.cset  nroff.amf          tex-filter.so
cp1251.cmap          cp1258.cset        iso-8859-14.cset  iso-8859-6.cmap  nroff-filter.info  texinfo.amf
cp1251.cset          dvorak.kbd         iso-8859-15.cmap  iso-8859-6.cset  nroff-filter.la    texinfo-filter.info
cp1252.cmap          email.amf          iso-8859-15.cset  iso-8859-7.cmap  nroff-filter.so    texinfo-filter.la
cp1252.cset          email-filter.info  iso-8859-16.cmap  iso-8859-7.cset  perl.amf           texinfo-filter.so
cp1253.cmap          email-filter.la    iso-8859-16.cset  iso-8859-8.cmap  sgml.amf           url.amf
cp1253.cset          email-filter.so    iso-8859-1.cmap   iso-8859-8.cset  sgml-filter.info
cp1254.cmap          html.amf           iso-8859-1.cset   iso-8859-9.cmap  sgml-filter.la
cp1254.cset          html-filter.info   iso-8859-2.cmap   iso-8859-9.cset  sgml-filter.so

marek@nixos-mainframe λ ~/Dotfiles (master●)   
❯❯❯ echo "hi theree" | aspell -a
Error: No word lists can be found for the language "en_US".

@turboMaCk
Copy link
Member

works when installed via nix-env -i

@arianvp
Copy link
Member

arianvp commented May 11, 2019

Does not work when ran using nix run nixpkgs.aspell because the nix profile isn't available.

@arianvp
Copy link
Member

arianvp commented May 11, 2019

Also does not work when installing with nix-env -i and setting config as documented above.

edit : aspellWithDicts works as expected, but requires aspell to be compiled from source every time you want to add a language, which is not ideal!

@rwanyoike
Copy link
Contributor

The aspell config file is ~/.aspell.conf not .aspell-conf:

$ < ~/.aspell.conf
data-dir /Users/rwanyoike/.nix-profile/lib/aspell

An environment variable can also work:

ASPELL_CONF="data-dir ${HOME}/.nix-profile/lib/aspell"

You can confirm with aspell dump config:

$ aspell dump config | grep data-dir                                                                                                                                  # data-dir (string)
data-dir /Users/rwanyoike/.nix-profile/lib/aspell
# default: <data-dir> = /Users/rwanyoike/.nix-profile/lib/aspell
# local-data-dir (string)

mweinelt added a commit to mweinelt/nixpkgs that referenced this issue Dec 8, 2019
Disables support for Javascript and PHP:
- Javascript requires an old version of v8
- PHP requires a larger number of dependencies in addition to php-embed

Changelog [1]:

  New features
    - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635)
    - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347)
    - core: add file weechat.desktop
    - core: add reverse of string for screen in evaluation of expressions with "revscr:"
    - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx"
    - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997)
    - core: add optional default path (evaluated) in completion "filename"
    - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string"
    - api: add modifier "color_encode_ansi" (issue NixOS#528)
    - api: add modifier "eval_path_home"
    - irc: add filters on raw buffer (issue NixOS#1000)
    - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892)
    - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416)
    - irc: add "user" in output of irc_message_parse (issue NixOS#136)
    - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684)
    - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621)
    - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded
    - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237)

  Bug fixes
    - core: set buffer name, short name and title only if the value has changed
    - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978)
    - core: optimize load of configuration files
    - core: fix window separators not respecting window splits (issue NixOS#630)
    - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619)
    - core: add support of reverse video in ANSI color codes
    - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400)
    - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403)
    - irc: do not automatically open a channel with name "0" (issue NixOS#1429)
    - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832)
    - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60)
    - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123)
    - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389)
    - relay: send message "_buffer_title_changed" to clients only when the title is changed
    - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded

  Tests
    - unit: add tests on GUI color functions

  Build
    - core: fix build on Haiku (issue NixOS#1420)
    - core: fix build on Alpine
    - core: remove file FindTCL.cmake
    - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956)
    - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan
    - debian: build with Guile 2.2
    - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098)
    - python: add detection of Python 3.8

[1] https://weechat.org/files/changelog/ChangeLog-2.7.html
dtzWill pushed a commit to dtzWill/nixpkgs that referenced this issue Dec 10, 2019
Disables support for Javascript and PHP:
- Javascript requires an old version of v8
- PHP requires a larger number of dependencies in addition to php-embed

Changelog [1]:

  New features
    - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635)
    - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347)
    - core: add file weechat.desktop
    - core: add reverse of string for screen in evaluation of expressions with "revscr:"
    - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx"
    - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997)
    - core: add optional default path (evaluated) in completion "filename"
    - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string"
    - api: add modifier "color_encode_ansi" (issue NixOS#528)
    - api: add modifier "eval_path_home"
    - irc: add filters on raw buffer (issue NixOS#1000)
    - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892)
    - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416)
    - irc: add "user" in output of irc_message_parse (issue NixOS#136)
    - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684)
    - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621)
    - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded
    - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237)

  Bug fixes
    - core: set buffer name, short name and title only if the value has changed
    - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978)
    - core: optimize load of configuration files
    - core: fix window separators not respecting window splits (issue NixOS#630)
    - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619)
    - core: add support of reverse video in ANSI color codes
    - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400)
    - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403)
    - irc: do not automatically open a channel with name "0" (issue NixOS#1429)
    - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832)
    - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60)
    - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123)
    - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389)
    - relay: send message "_buffer_title_changed" to clients only when the title is changed
    - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded

  Tests
    - unit: add tests on GUI color functions

  Build
    - core: fix build on Haiku (issue NixOS#1420)
    - core: fix build on Alpine
    - core: remove file FindTCL.cmake
    - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956)
    - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan
    - debian: build with Guile 2.2
    - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098)
    - python: add detection of Python 3.8

[1] https://weechat.org/files/changelog/ChangeLog-2.7.html

(cherry picked from commit d1cb8bf)
@zaynetro
Copy link

Everything seems to be working fine in macos.

Instructions on how to get aspell working with a dictionary:

# Install aspell
nix-env -i aspell

# Install dictionary
nix-env -f '<nixpkgs>' -iA aspellDicts.en

# Test
echo "hi theree" | aspell -a

# Bonus: search for available dictionaries
nix-env -f '<nixpkgs>' -qaPA aspellDicts

mcwitt added a commit to mcwitt/nixos-config that referenced this issue Feb 18, 2020
Work around failure to find word list on macOS.
See NixOS/nixpkgs#1000.
mweinelt added a commit to mweinelt/nixpkgs that referenced this issue Feb 20, 2020
Disables support for Javascript and PHP:
- Javascript requires an old version of v8
- PHP requires a larger number of dependencies in addition to php-embed

Changelog [1]:

  New features
    - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635)
    - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347)
    - core: add file weechat.desktop
    - core: add reverse of string for screen in evaluation of expressions with "revscr:"
    - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx"
    - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997)
    - core: add optional default path (evaluated) in completion "filename"
    - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string"
    - api: add modifier "color_encode_ansi" (issue NixOS#528)
    - api: add modifier "eval_path_home"
    - irc: add filters on raw buffer (issue NixOS#1000)
    - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892)
    - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416)
    - irc: add "user" in output of irc_message_parse (issue NixOS#136)
    - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684)
    - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621)
    - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded
    - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237)

  Bug fixes
    - core: set buffer name, short name and title only if the value has changed
    - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978)
    - core: optimize load of configuration files
    - core: fix window separators not respecting window splits (issue NixOS#630)
    - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619)
    - core: add support of reverse video in ANSI color codes
    - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400)
    - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403)
    - irc: do not automatically open a channel with name "0" (issue NixOS#1429)
    - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832)
    - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60)
    - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123)
    - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389)
    - relay: send message "_buffer_title_changed" to clients only when the title is changed
    - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded

  Tests
    - unit: add tests on GUI color functions

  Build
    - core: fix build on Haiku (issue NixOS#1420)
    - core: fix build on Alpine
    - core: remove file FindTCL.cmake
    - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956)
    - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan
    - debian: build with Guile 2.2
    - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098)
    - python: add detection of Python 3.8

[1] https://weechat.org/files/changelog/ChangeLog-2.7.html

(cherry picked from commit d1cb8bf)
djfroofy pushed a commit to djfroofy/nixpkgs that referenced this issue Feb 23, 2020
Disables support for Javascript and PHP:
- Javascript requires an old version of v8
- PHP requires a larger number of dependencies in addition to php-embed

Changelog [1]:

  New features
    - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue NixOS#635)
    - core: add different icons sizes (16x16 to 512x512) (issue NixOS#1347)
    - core: add file weechat.desktop
    - core: add reverse of string for screen in evaluation of expressions with "revscr:"
    - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx"
    - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue NixOS#997)
    - core: add optional default path (evaluated) in completion "filename"
    - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string"
    - api: add modifier "color_encode_ansi" (issue NixOS#528)
    - api: add modifier "eval_path_home"
    - irc: add filters on raw buffer (issue NixOS#1000)
    - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue NixOS#892)
    - irc: add server option "ssl_password" (issue NixOS#115, issue NixOS#1416)
    - irc: add "user" in output of irc_message_parse (issue NixOS#136)
    - irc: add options irc.color.message_kick and irc.color.reason_kick (issue NixOS#683, issue NixOS#684)
    - logger: add option logger.file.color_lines (issue NixOS#528, issue NixOS#621)
    - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded
    - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue NixOS#1237)

  Bug fixes
    - core: set buffer name, short name and title only if the value has changed
    - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue NixOS#899, issue NixOS#978)
    - core: optimize load of configuration files
    - core: fix window separators not respecting window splits (issue NixOS#630)
    - core: fix cursor mode info when prefix_align is none and with words split across lines (issue NixOS#610, issue NixOS#617, issue NixOS#619)
    - core: add support of reverse video in ANSI color codes
    - core: fixed segfault during excessive evaluation in function string_repeat (issue NixOS#1400)
    - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue NixOS#1403)
    - irc: do not automatically open a channel with name "0" (issue NixOS#1429)
    - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue NixOS#832)
    - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue NixOS#60)
    - logger: fix write in log file if it has been deleted or renamed (issue NixOS#123)
    - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue NixOS#1389)
    - relay: send message "_buffer_title_changed" to clients only when the title is changed
    - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded

  Tests
    - unit: add tests on GUI color functions

  Build
    - core: fix build on Haiku (issue NixOS#1420)
    - core: fix build on Alpine
    - core: remove file FindTCL.cmake
    - core: display an error on missing dependency in CMake (issue NixOS#916, issue NixOS#956)
    - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan
    - debian: build with Guile 2.2
    - guile: add support of Guile 2.2, disable /guile eval (issue NixOS#1098)
    - python: add detection of Python 3.8

[1] https://weechat.org/files/changelog/ChangeLog-2.7.html

(cherry picked from commit d1cb8bf)
neic added a commit to neic/dotfiles that referenced this issue Jan 30, 2021
@the-mikedavis
Copy link
Contributor

with home-manager:

# ~/.config/nixpkgs/home.nix
{ config, pkgs, ... }:
{
  # ..
  home.packages = with pkgs; [
    # ..
    aspell
    aspellDicts.en
  ];

  home.file.".aspell.conf".text = "data-dir ${pkgs.aspell}/lib/aspell";
  # ..
}

works without rebooting/relogging 👍

@baracunatana
Copy link

If, like me, you had problems using aspell from emacs after upgrading to NixOS 21.11, what worked for me was adding data-dir /run/current-system/sw/lib/aspell to ~/.aspell.conf

@refaelsh
Copy link

refaelsh commented May 9, 2023

Nothing worked until I rebooted my laptop.

@zzantares
Copy link
Contributor

For me installing (aspellWithDicts (ds: with ds; [ en en-computers en-science ])) instead of aspell and aspellDicts.en (and others) worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: non-nixos Running packages on non-NixOS Linux 9.needs: reporter feedback This issue needs the person who filed it to respond
Projects
None yet
Development

No branches or pull requests