summary refs log tree commit diff
path: root/pkgs/applications/kde/konsole.nix
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2018-12-02 23:42:27 +0100
committerPatrick Hilhorst <git@hilhorst.be>2018-12-03 00:12:47 +0100
commit4ec643b1258537f729af1d9c4f7ef97b69dc2ec7 (patch)
tree1e33d94ee4989167ac8aa2941e737d2b27b3a92f /pkgs/applications/kde/konsole.nix
parent6141939d6e0a77c84905efd560c03c3032164ef1 (diff)
downloadnixpkgs-4ec643b1258537f729af1d9c4f7ef97b69dc2ec7.tar
nixpkgs-4ec643b1258537f729af1d9c4f7ef97b69dc2ec7.tar.gz
nixpkgs-4ec643b1258537f729af1d9c4f7ef97b69dc2ec7.tar.bz2
nixpkgs-4ec643b1258537f729af1d9c4f7ef97b69dc2ec7.tar.lz
nixpkgs-4ec643b1258537f729af1d9c4f7ef97b69dc2ec7.tar.xz
nixpkgs-4ec643b1258537f729af1d9c4f7ef97b69dc2ec7.tar.zst
nixpkgs-4ec643b1258537f729af1d9c4f7ef97b69dc2ec7.zip
konsole: fix arrow keys
(partially?) fixes #29951
Diffstat (limited to 'pkgs/applications/kde/konsole.nix')
-rw-r--r--pkgs/applications/kde/konsole.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/kde/konsole.nix b/pkgs/applications/kde/konsole.nix
index 2847e312d00..004fc1c37ae 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) ];
 }