help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add spell checking dictionaries to Icecat


From: Ludovic Courtès
Subject: Re: How to add spell checking dictionaries to Icecat
Date: Sat, 16 Sep 2017 23:33:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

address@hidden (Ludovic Courtès) skribis:

> Nixpkgs gets its dictionaries from <http://wordlist.sf.net>,
> <http://www.dicollecte.org>, and others sources:
>
>   
> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/hunspell/dictionaries.nix

I’ve added French dictionaries for Hunspell roughly following Nixpkgs,
as well as a search path definition, and that seems to work:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix environment --ad-hoc hunspell hunspell-dict-fr
substitute: updating list of substitutes from 'https://bayfront.guixsd.org'... 
100.0%
substitute: updating list of substitutes from 'https://berlin.guixsd.org'... 
100.0%
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 
100.0%
The following derivations will be built:
   /gnu/store/aiaxqy3mp22zj8ahcxz07i0sh7vb1f63-profile.drv
   /gnu/store/w1w5abixsy6wnmxy3jy7h1pbklh8s2dr-fonts-dir.drv
   /gnu/store/qnhiqv0x07lrzxwbiia2gln0w0yf5cwb-ca-certificate-bundle.drv
   /gnu/store/c4cg870cgm84n1ywlr9rhsgjm250x0v6-info-dir.drv
   /gnu/store/z1jq048mpyjiqjm32glpkjkjr38kaqns-manual-database.drv
Creating manual page database for 1 packages... done in 0.040 s
[env]$ env|grep DIC
ASPELL_DICT_DIR=/home/ludo/.guix-profile/lib/aspell
DICPATH=/gnu/store/l54jaa80ghf5gn4p0l0vihbfhn4rfmqr-profile/share/hunspell
[env]$ echo "bonjor" | hunspell -d fr-classique
Hunspell 1.6.1
& bonjor 1 0: bonjour

--8<---------------cut here---------------end--------------->8---

See:

  
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=4db733e77d81cc7dee1a2939446290ba29a6a66e
  
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=31daf8931b20c5e58d5d0941bbad09c820bd3285

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]