From 78d452c93c109bfddacf9e816b16a8f5f2c724cf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 16 Apr 2014 12:59:27 -0500 Subject: [PATCH] Change aspell configure to use $out/lib/aspell --- pkgs/development/libraries/aspell/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/aspell/default.nix b/pkgs/development/libraries/aspell/default.nix index a69cee99b2b..6b054aaf44b 100644 --- a/pkgs/development/libraries/aspell/default.nix +++ b/pkgs/development/libraries/aspell/default.nix @@ -12,6 +12,13 @@ stdenv.mkDerivation rec { doCheck = true; + preConfigure = '' + configureFlagsArray=( + --enable-pkglibdir=$out/lib/aspell + --enable-pkgdatadir=$out/lib/aspell + ); + ''; + # 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.