From cf2a383bc721887f361bdd12369ed28161857131 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= <vcunat@gmail.com>
Date: Wed, 20 Jun 2012 09:11:58 +0000
Subject: [PATCH] Hot-fixing kile's nl handbook compilation problem on KDE-4.7
 by removing it.

svn path=/nixpkgs/trunk/; revision=34568
---
 pkgs/applications/editors/kile/default.nix | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pkgs/applications/editors/kile/default.nix b/pkgs/applications/editors/kile/default.nix
index e837dfdecc1c..a24c6b18d8c8 100644
--- a/pkgs/applications/editors/kile/default.nix
+++ b/pkgs/applications/editors/kile/default.nix
@@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
   buildNativeInputs = [ cmake gettext ];
   buildInputs = [ kdelibs ];
 
+  # for KDE 4.7 the nl translations fail since kile-2.1.2
+  preConfigure = "rm -r translations/nl";
+
   meta = {
     description = "An integrated LaTeX editor for KDE";
     homepage = http://kile.sourceforge.net;