1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/libraries/aspell
Frederik Rietdijk c0cf19608f aspellWithDicts: create derivation with aspell and selected dictionaries
Currently, `aspell` checks the active profiles for dictionaries. While
this may be convenient, it does not work with `nix-shell` and it doesn't
allow any isolation.

This commit adds the possibility to use composition by creating a
derivation with `symlinkJoin` that contains all the chosen dictionaries,
and another derivation that wraps the executables linking to the dictionaries.

Nix example:

my_aspell = aspellWithDicts(ps: with ps; [ en nl ])

`nix-shell` example:

nix-shell -p 'aspellWithDicts(ps: with ps; [ en nl ])'
2017-07-17 10:17:20 +02:00
..
aspell-with-dicts.nix aspellWithDicts: create derivation with aspell and selected dictionaries 2017-07-17 10:17:20 +02:00
clang.patch suitable clang stdenv 2014-09-09 13:54:24 -07:00
default.nix Revert "aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset" 2017-04-19 20:21:36 +02:00
dictionaries.nix aspell-dict-ca: init at 2.1.5-1 2017-02-14 15:17:28 +01:00