From f3032cb8ac3fc281eb41a735089bdfbaaaf25751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Thu, 20 Aug 2020 18:21:24 -0300 Subject: [PATCH] plasma-5.kde-cli-tools: install a symlink to kdesu in bin --- pkgs/desktops/plasma-5/kde-cli-tools.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/desktops/plasma-5/kde-cli-tools.nix b/pkgs/desktops/plasma-5/kde-cli-tools.nix index 03efc42fe265..d84b7bc98019 100644 --- a/pkgs/desktops/plasma-5/kde-cli-tools.nix +++ b/pkgs/desktops/plasma-5/kde-cli-tools.nix @@ -11,6 +11,11 @@ mkDerivation { kcmutils kconfig kdesu ki18n kiconthemes kinit kio kwindowsystem qtsvg qtx11extras kactivities plasma-workspace ]; + postInstall = '' + # install a symlink in bin so that kdesu can eventually be found in PATH + mkdir -p $out/bin + ln -s $out/libexec/kf5/kdesu $out/bin + ''; dontWrapQtApps = true; preFixup = '' for program in $out/bin/*; do