d419639f9c
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
25 lines
1,020 B
Nix
25 lines
1,020 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules, kdoctools,
|
|
qtbase,
|
|
kcmutils, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
|
|
kdeclarative, kdelibs4support, ki18n, kiconthemes, kio, kirigami2, kpackage,
|
|
kservice, kwayland, kwidgetsaddons, kxmlgui, libraw1394, libGLU, pciutils,
|
|
solid, systemsettings
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kinfocenter";
|
|
meta.broken = lib.versionOlder qtbase.version "5.15.0";
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
buildInputs = [
|
|
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
|
|
kdeclarative kdelibs4support ki18n kiconthemes kio kirigami2 kpackage
|
|
kservice kwayland kwidgetsaddons kxmlgui libraw1394 libGLU pciutils solid systemsettings
|
|
];
|
|
preFixup = ''
|
|
# fix wrong symlink of infocenter pointing to a 'systemsettings5' binary in the same directory,
|
|
# while it is actually located in a completely different store path
|
|
ln -sf ${lib.getBin systemsettings}/bin/systemsettings5 $out/bin/kinfocenter
|
|
'';
|
|
}
|