diff --git a/default.nix b/default.nix
index 5719e2f..5e90925 100644
--- a/default.nix
+++ b/default.nix
@@ -18,8 +18,8 @@ final: prev: {
       postBuild = ''
         rm $out/bin/dolphin
         makeWrapper ${kprev.dolphin}/bin/dolphin $out/bin/dolphin \
-          --set XDG_CONFIG_DIRS "${prev.libsForQt5.kservice}/etc/xdg:$XDG_CONFIG_DIRS" \
-          --run "${kprev.kservice}/bin/kbuildsycoca6 --noincremental ${prev.libsForQt5.kservice}/etc/xdg/menus/applications.menu"
+          --set XDG_CONFIG_DIRS "${prev.libsForQt5.__internalKF5.kservice}/etc/xdg:$XDG_CONFIG_DIRS" \
+          --run "${kprev.kservice}/bin/kbuildsycoca6 --noincremental ${prev.libsForQt5.__internalKF5.kservice}/etc/xdg/menus/applications.menu"
       '';
       passthru = (kprev.dolphin.passthru or {}) // { dev = kprev.dolphin.dev; };
     };
