summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2008-02-14 10:26:17 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2008-02-14 10:26:17 +0000
commita65d6f9f59e25d6c772319949fd88d2a081d9d97 (patch)
treed972003537f65d3a174ab4085bfdce59726cbe73 /pkgs/development
parent3925367ca2b10c44615d625f6412be362619a0e8 (diff)
downloadnixpkgs-a65d6f9f59e25d6c772319949fd88d2a081d9d97.tar
nixpkgs-a65d6f9f59e25d6c772319949fd88d2a081d9d97.tar.gz
nixpkgs-a65d6f9f59e25d6c772319949fd88d2a081d9d97.tar.bz2
nixpkgs-a65d6f9f59e25d6c772319949fd88d2a081d9d97.tar.lz
nixpkgs-a65d6f9f59e25d6c772319949fd88d2a081d9d97.tar.xz
nixpkgs-a65d6f9f59e25d6c772319949fd88d2a081d9d97.tar.zst
nixpkgs-a65d6f9f59e25d6c772319949fd88d2a081d9d97.zip
* Emacs expects an alias called "nederlands" (not "dutch"), so provide
  it.

svn path=/nixpkgs/trunk/; revision=10676
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/aspell/dictionaries.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/libraries/aspell/dictionaries.nix b/pkgs/development/libraries/aspell/dictionaries.nix
index 7be7b580656..cec4e4e76b0 100644
--- a/pkgs/development/libraries/aspell/dictionaries.nix
+++ b/pkgs/development/libraries/aspell/dictionaries.nix
@@ -5,7 +5,7 @@ let
   /* Function to compile an Aspell dictionary.  Fortunately, they all
      build in the exact same way. */
   buildDict =
-    {shortName, fullName, src}:
+    {shortName, fullName, src, postInstall ? ""}:
 
     stdenv.mkDerivation {
       name = "aspell-dict-${shortName}";
@@ -18,6 +18,8 @@ let
 
       preBuild = "makeFlagsArray=(dictdir=$out/lib/aspell datadir=$out/lib/aspell)";
 
+      inherit postInstall;
+
       meta = {
         description = "Aspell dictionary for ${fullName}";
       };
@@ -77,6 +79,10 @@ in {
       url = mirror://gnu/aspell/dict/nl/aspell-nl-0.50-2.tar.bz2;
       sha256 = "0ffb87yjsh211hllpc4b9khqqrblial4pzi1h9r3v465z1yhn3j4";
     };
+    # Emacs expects a language called "nederlands".
+    postInstall = ''
+      echo "add nl.rws" > $out/lib/aspell/nederlands.multi
+    '';
   };
     
   ru = buildDict {