From 9e92839468cfb4fe6e96058b646d4d774b0674cc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 17 Jul 2011 15:55:33 +0000 Subject: [PATCH] * Fix incorrect path to kde4-config in startkde. svn path=/nixpkgs/branches/kde-4.7/; revision=27812 --- pkgs/desktops/kde-4.7/workspace.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/desktops/kde-4.7/workspace.nix b/pkgs/desktops/kde-4.7/workspace.nix index f4820f76623f..e78cbe756095 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";