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:
Ludovic Courtès
2008-02-14 09:40:28 +00:00
parent d884e1d0a6
commit 3925367ca2
2 changed files with 7 additions and 37 deletions
@@ -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";
};