diff --git a/pkgs/development/libraries/kde-frameworks-5.15/kservice/default.nix b/pkgs/development/libraries/kde-frameworks-5.15/kservice/default.nix index ab017ce402ab..5c7727cdb647 100644 --- a/pkgs/development/libraries/kde-frameworks-5.15/kservice/default.nix +++ b/pkgs/development/libraries/kde-frameworks-5.15/kservice/default.nix @@ -4,7 +4,6 @@ kdeFramework { name = "kservice"; - setupHook = ./setup-hook.sh; nativeBuildInputs = [ extra-cmake-modules kdoctools ]; buildInputs = [ kcoreaddons kcrash kdbusaddons ]; propagatedBuildInputs = [ kconfig ki18n kwindowsystem ]; diff --git a/pkgs/development/libraries/kde-frameworks-5.15/kservice/setup-hook.sh b/pkgs/development/libraries/kde-frameworks-5.15/kservice/setup-hook.sh deleted file mode 100644 index 007876a0b309..000000000000 --- a/pkgs/development/libraries/kde-frameworks-5.15/kservice/setup-hook.sh +++ /dev/null @@ -1,13 +0,0 @@ -export KDESYCOCA="$out/var/cache/kservices5/$name.sycoca" - -KSERVICE_BUILD_KDESYCOCA= - -buildKdeSycoca() { - if [[ -n "$KSERVICE_BUILD_KDESYCOCA" ]]; then - echo "building kdesycoca database in $KDESYCOCA" - mkdir -p "$(dirname $KDESYCOCA)" - kbuildsycoca5 --nosignal - fi -} - -preFixupPhases+=" buildKdeSycoca"