forked from mirrors/nixpkgs
7bfdeb102b
Maybe this fixes this build failure: In file included from /tmp/nix-build-103m3iz49n04a7h1pzinalqnw7x5g0da-kde-workspace-4.8.4.drv-0/kde-workspace-4.8.4/plasma/generic/runners/kill/killrunner.h:28:0, from /tmp/nix-build-103m3iz49n04a7h1pzinalqnw7x5g0da-kde-workspace-4.8.4.drv-0/kde-workspace-4.8.4/plasma/generic/runners/kill/killrunner.cpp:20: /tmp/nix-build-103m3iz49n04a7h1pzinalqnw7x5g0da-kde-workspace-4.8.4.drv-0/kde-workspace-4.8.4/plasma/generic/runners/kill/killrunner_config.h:24:34: fatal error: ui_killrunner_config.h: No such file or directory compilation terminated. http://hydra.nixos.org/build/2837527
37 lines
1.2 KiB
Nix
37 lines
1.2 KiB
Nix
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, shared_desktop_ontologies
|
|
, lm_sensors, pciutils, libraw1394, libusb, libxklavier, python, libqalculate
|
|
, consolekit, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison, akonadi
|
|
, pykde4, libjpeg, pkgconfig, libXft, libXxf86misc
|
|
}:
|
|
|
|
kde {
|
|
|
|
buildInputs =
|
|
[ kdelibs qimageblitz libdbusmenu_qt pykde4 libjpeg libXft libXxf86misc
|
|
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
|
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
|
xorg.libpthreadstubs
|
|
boost gpsd shared_desktop_ontologies lm_sensors pciutils libraw1394
|
|
libusb python libqalculate consolekit kdepimlibs pam prison akonadi
|
|
];
|
|
|
|
buildNativeInputs = [ pkgconfig ];
|
|
|
|
preConfigure =
|
|
''
|
|
# Fix incorrect path to kde4-config.
|
|
substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
|
|
|
|
# Fix the path to the keyboard configuration files.
|
|
substituteInPlace kcontrol/keyboard/xkb_rules.cpp \
|
|
--replace /usr/share/X11 ${xkeyboard_config}/etc/X11
|
|
'';
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
meta = {
|
|
description = "KDE workspace components such as Plasma, Kwin and System Settings";
|
|
license = "GPLv2";
|
|
};
|
|
}
|