summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-07-17 15:55:33 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-07-17 15:55:33 +0000
commit9e92839468cfb4fe6e96058b646d4d774b0674cc (patch)
tree97b4139fa96aaac2f62481262f455f74ce725972 /pkgs/desktops
parentf3d8b47f220ef94778fc9f0de335ed8ac6935a76 (diff)
* Fix incorrect path to kde4-config in startkde.
svn path=/nixpkgs/branches/kde-4.7/; revision=27812
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/kde-4.7/workspace.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/desktops/kde-4.7/workspace.nix b/pkgs/desktops/kde-4.7/workspace.nix
index f4820f76623fb..e78cbe756095f 100644
--- a/pkgs/desktops/kde-4.7/workspace.nix
+++ b/pkgs/desktops/kde-4.7/workspace.nix
@@ -18,6 +18,12 @@ kde.package {
   # kwinglutils_funcs.cpp and ‘clock_gettime’ in kdm/backend/dm.c.
   NIX_LDFLAGS = "-ldl -lrt";
 
+  preConfigure =
+   ''
+     # Fix incorrect path to kde4-config.
+     substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
+   '';
+
   meta = {
     description = "KDE workspace components such as Plasma, Kwin and System Settings";
     license = "GPLv2";