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";