Aspell: Use the `ASPELL_CONF' environment variable instead of patching Aspell.
A related change in `/etc/profile' will be checked in in the NixOS repository. svn path=/nixpkgs/trunk/; revision=10672
This commit is contained in:
@@ -10,15 +10,15 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [perl];
|
||||
|
||||
patches = [
|
||||
# A patch that allows additional dictionary directories to be set
|
||||
# specified through the environment variable
|
||||
# ASPELL_EXTRA_DICT_DIRS (comma-separated).
|
||||
./dict-path.patch
|
||||
];
|
||||
# Note: Users should define the `ASPELL_CONF' environment variable to
|
||||
# `dict-dir $HOME/.nix-profile/lib/aspell/' so that they can access
|
||||
# dictionaries installed in their profile.
|
||||
#
|
||||
# We can't use `$out/etc/aspell.conf' for that purpose since Aspell
|
||||
# doesn't expand environment variables such as `$HOME'.
|
||||
|
||||
meta = {
|
||||
description = "A spell checker for many languages";
|
||||
description = "GNU Aspell, A spell checker for many languages";
|
||||
homepage = http://aspell.net/;
|
||||
license = "LGPL";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user