about summary refs log tree commit diff
path: root/pkgs/tools/misc/qt5ct/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/qt5ct/default.nix')
-rw-r--r--pkgs/tools/misc/qt5ct/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/qt5ct/default.nix b/pkgs/tools/misc/qt5ct/default.nix
index 9069821fe354c..fbb56b98be77b 100644
--- a/pkgs/tools/misc/qt5ct/default.nix
+++ b/pkgs/tools/misc/qt5ct/default.nix
@@ -15,6 +15,11 @@ mkDerivation rec {
 
   buildInputs = [ qtbase ];
 
+  # Wayland needs to know the desktop file name in order to show the app name and icon.
+  # Patch has been upstreamed and can be removed in the future.
+  # See: https://sourceforge.net/p/qt5ct/code/549/
+  patches = [ ./wayland.patch ];
+
   qmakeFlags = [
     "LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
   ];