From 60e1e812010c632a9b07a3c455b1804b86583d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Mon, 6 Aug 2018 11:10:35 +0200 Subject: [PATCH] services.plasma5: Make activationscript use absolute path to `kbuildsyscoca5` --- nixos/modules/services/x11/desktop-managers/plasma5.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index 17733aa7e4f..83d1957a646 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))); }) ];