From 4ec643b1258537f729af1d9c4f7ef97b69dc2ec7 Mon Sep 17 00:00:00 2001 From: Patrick Hilhorst Date: Sun, 2 Dec 2018 23:42:27 +0100 Subject: [PATCH] konsole: fix arrow keys (partially?) fixes #29951 --- pkgs/applications/kde/konsole.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/kde/konsole.nix b/pkgs/applications/kde/konsole.nix index 2847e312d00a..004fc1c37ae2 100644 --- a/pkgs/applications/kde/konsole.nix +++ b/pkgs/applications/kde/konsole.nix @@ -1,5 +1,5 @@ { - mkDerivation, lib, + mkDerivation, lib, makeWrapper, extra-cmake-modules, kdoctools, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons, ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications, @@ -18,6 +18,12 @@ mkDerivation { kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons kdelibs4support kguiaddons ki18n kiconthemes kinit kio knotifications knotifyconfig kparts kpty kservice ktextwidgets kwidgetsaddons kwindowsystem kxmlgui qtscript knewstuff + makeWrapper ]; + + postInstall = '' + wrapProgram $out/bin/konsole --prefix XDG_DATA_DIRS ":" $out/share + ''; + propagatedUserEnvPkgs = [ (lib.getBin kinit) ]; }