about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBastian Köcher <git@kchr.de>2018-08-06 11:10:35 +0200
committerBastian Köcher <git@kchr.de>2018-08-06 17:15:53 +0200
commit60e1e812010c632a9b07a3c455b1804b86583d78 (patch)
tree665653d4da5a0382c47c48cd5c67fa130b8c6184 /nixos
parentc3b1a8178b8efd669e2951d293f449958f6a56ad (diff)
downloadnixlib-60e1e812010c632a9b07a3c455b1804b86583d78.tar
nixlib-60e1e812010c632a9b07a3c455b1804b86583d78.tar.gz
nixlib-60e1e812010c632a9b07a3c455b1804b86583d78.tar.bz2
nixlib-60e1e812010c632a9b07a3c455b1804b86583d78.tar.lz
nixlib-60e1e812010c632a9b07a3c455b1804b86583d78.tar.xz
nixlib-60e1e812010c632a9b07a3c455b1804b86583d78.tar.zst
nixlib-60e1e812010c632a9b07a3c455b1804b86583d78.zip
services.plasma5: Make activationscript use absolute path to
`kbuildsyscoca5`
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index 17733aa7e4f6..83d1957a646a 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -224,7 +224,7 @@ in
       # Update the start menu for each user that has `isNormalUser` set.
       system.activationScripts.plasmaSetup = stringAfter [ "users" "groups" ]
         (concatStringsSep "\n"
-          (mapAttrsToList (name: value: "${pkgs.su}/bin/su ${name} -c kbuildsycoca5")
+          (mapAttrsToList (name: value: "${pkgs.su}/bin/su ${name} -c ${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5")
             (filterAttrs (n: v: v.isNormalUser) config.users.users)));
     })
   ];